#[repr(C)]pub struct IPLAmbisonicsEncodeEffectParams {
pub direction: IPLVector3,
pub order: IPLint32,
}Expand description
Parameters for applying an Ambisonics encode effect to an audio buffer.
Fields§
§direction: IPLVector3Vector pointing from the listener towards the source. Need not be normalized; Steam Audio will automatically normalize this vector. If a zero-length vector is passed, the output will be order 0 (omnidirectional).
order: IPLint32Ambisonic order of the output buffer. May be less than the \c maxOrder specified when creating the effect, in which case the effect will generate fewer output channels, reducing CPU usage.
Trait Implementations§
Source§impl Clone for IPLAmbisonicsEncodeEffectParams
impl Clone for IPLAmbisonicsEncodeEffectParams
Source§fn clone(&self) -> IPLAmbisonicsEncodeEffectParams
fn clone(&self) -> IPLAmbisonicsEncodeEffectParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IPLAmbisonicsEncodeEffectParams
Auto Trait Implementations§
impl Freeze for IPLAmbisonicsEncodeEffectParams
impl RefUnwindSafe for IPLAmbisonicsEncodeEffectParams
impl Send for IPLAmbisonicsEncodeEffectParams
impl Sync for IPLAmbisonicsEncodeEffectParams
impl Unpin for IPLAmbisonicsEncodeEffectParams
impl UnwindSafe for IPLAmbisonicsEncodeEffectParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more