class SoundObjectSource
Part of SoundController API
Constructors 1
void SoundObject(SoundParams soundParams)Methods 11
Note: 'SoundObject' is not an Entity, and therefore can not be accessed by using 'IEntity.GetChildren', though internally 'SoundObject.SetParent' is similiar to 'IEntity.AddChild' by creating an 'EntityHierarchyComponent'
proto native IEntity GetParent()proto native int GetHierarchyPivot()Referenced by EffectSound.GetPivotIndex()
proto native void SetPosition(vector position)Note: Sets the position locally if parented, retrieves globally with the sound offset
proto native vector GetPosition()proto native void SetSpeed(vector speed)Note: Sets the speed locally if parented, retrieves globally with the parent speed
proto native vector GetSpeed()proto native void SetKind(WaveKind kind)proto native void Initialize(SoundParams soundParams)