Struct steam_audio::ffi::IPLDirectSoundPath [] [src]

#[repr(C)]
pub struct IPLDirectSoundPath { pub direction: IPLVector3, pub distanceAttenuation: IPLfloat32, pub airAbsorption: [IPLfloat32; 3], pub propagationDelay: IPLfloat32, pub occlusionFactor: IPLfloat32, pub transmissionFactor: [IPLfloat32; 3], }

Parameters describing a direct sound path. For each frequency band, the attenuation factor applied to the direct sound path is:

distanceAttenuation * airAbsorption * (occlusionFactor + (1 - occlusionFactor) * transmissionFactor)

Fields

< Unit vector from the listener to the source.

< Scaling factor to apply to direct sound, that arises due to the spherical attenuation of sound with distance from the source. Linear scale from 0.0 to 1.0.

< Scaling factors to apply to direct sound, for low, middle, and high frequencies, that arise due to the scattering of sound waves as they travel through the air. Linear scale from 0.0 to 1.0.

< Time delay (in seconds) due to propagation from the source to the listener.

< Scaling factor to apply to direct sound, that arises due to occlusion by scene geometry. Linear scale from 0.0 to 1.0.

< Scaling factors to apply to direct sound, for low, middle, and high frequencies, that arise due to the transmission of sound waves through scene geometry. Linear scale from 0.0 to 1.0.

Trait Implementations

impl Debug for IPLDirectSoundPath
[src]

[src]

Formats the value using the given formatter.

impl Copy for IPLDirectSoundPath
[src]

impl Clone for IPLDirectSoundPath
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more