changed how actor context menus are created.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
/// <summary>
|
||||
/// Represents a listener that hears audio sources. For spatial audio the volume and pitch of played audio is determined by the distance, orientation and velocity differences between the source and the listener.
|
||||
/// </summary>
|
||||
API_CLASS() class FLAXENGINE_API AudioListener : public Actor
|
||||
API_CLASS(Attributes = "ActorContextMenu(\"New/Audio/Audio Listener\")") class FLAXENGINE_API AudioListener : public Actor
|
||||
{
|
||||
DECLARE_SCENE_OBJECT(AudioListener);
|
||||
private:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
/// <remarks>
|
||||
/// Whether or not an audio source is spatial is controlled by the assigned AudioClip.The volume and the pitch of a spatial audio source is controlled by its position and the AudioListener's position/direction/velocity.
|
||||
/// </remarks>
|
||||
API_CLASS() class FLAXENGINE_API AudioSource : public Actor
|
||||
API_CLASS(Attributes = "ActorContextMenu(\"New/Audio/Audio Source\")") class FLAXENGINE_API AudioSource : public Actor
|
||||
{
|
||||
DECLARE_SCENE_OBJECT(AudioSource);
|
||||
friend class AudioStreamingHandler;
|
||||
|
||||
Reference in New Issue
Block a user