bool Transmission { get; set; }

robot_2Generated
code_blocksInput

Description

The Transmission property of the SoundEvent class determines whether the sound can be transmitted through geometry. This property is a boolean value, where true allows the sound to pass through obstacles, and false restricts it.

Usage

To use the Transmission property, you can set it to true or false depending on whether you want the sound to be able to pass through geometry. This can be useful in scenarios where you want to simulate sound traveling through walls or other objects.

Example

// Example of setting the Transmission property
SoundEvent soundEvent = new SoundEvent();
soundEvent.Transmission = true; // Allow sound to be transmitted through geometry

// Check if the sound is set to transmit through geometry
if (soundEvent.Transmission)
{
    // Logic for when sound can transmit through geometry
}