The Reflections
property of the SoundHandle
class is used to enable or disable the sound reflecting off surfaces. This property is marked as obsolete, indicating that it may be removed in future versions and should not be used in new code.
The Reflections
property of the SoundHandle
class is used to enable or disable the sound reflecting off surfaces. This property is marked as obsolete, indicating that it may be removed in future versions and should not be used in new code.
To use the Reflections
property, you can access it directly from an instance of SoundHandle
. However, since it is marked as obsolete, it is recommended to avoid using it in new implementations.
// Example of accessing the Reflections property SoundHandle soundHandle = new SoundHandle(); // Enable reflections (not recommended as it's obsolete) soundHandle.Reflections = true; // Check if reflections are enabled bool areReflectionsEnabled = soundHandle.Reflections;