FMOD.Studio.EventInstance.getProperty C# (CSharp) Method

getProperty() public method

public getProperty ( EVENT_PROPERTY index, float &value ) : RESULT
index EVENT_PROPERTY
value float
return RESULT
        public RESULT getProperty(EVENT_PROPERTY index, out float value)
        {
            return FMOD_Studio_EventInstance_GetProperty(rawPtr, index, out value);
        }
        public RESULT setProperty(EVENT_PROPERTY index, float value)

Usage Example

 public float this[EventProperty index]
 {
     get
     {
         float value;
         _eventInstance.getProperty((EVENT_PROPERTY)index, out value).Check();
         return(value);
     }
     set
     {
         _eventInstance.setProperty((EVENT_PROPERTY)index, value);
     }
 }
EventInstance