pub trait PannerNodeMethods {
Show 25 methods // Required methods fn PanningModel(&self) -> PanningModelType; fn SetPanningModel(&self, value: PanningModelType); fn PositionX(&self) -> Root<Dom<AudioParam>>; fn PositionY(&self) -> Root<Dom<AudioParam>>; fn PositionZ(&self) -> Root<Dom<AudioParam>>; fn OrientationX(&self) -> Root<Dom<AudioParam>>; fn OrientationY(&self) -> Root<Dom<AudioParam>>; fn OrientationZ(&self) -> Root<Dom<AudioParam>>; fn DistanceModel(&self) -> DistanceModelType; fn SetDistanceModel(&self, value: DistanceModelType); fn RefDistance(&self) -> Finite<f64>; fn SetRefDistance(&self, value: Finite<f64>) -> Result<(), Error>; fn MaxDistance(&self) -> Finite<f64>; fn SetMaxDistance(&self, value: Finite<f64>) -> Result<(), Error>; fn RolloffFactor(&self) -> Finite<f64>; fn SetRolloffFactor(&self, value: Finite<f64>) -> Result<(), Error>; fn ConeInnerAngle(&self) -> Finite<f64>; fn SetConeInnerAngle(&self, value: Finite<f64>); fn ConeOuterAngle(&self) -> Finite<f64>; fn SetConeOuterAngle(&self, value: Finite<f64>); fn ConeOuterGain(&self) -> Finite<f64>; fn SetConeOuterGain(&self, value: Finite<f64>) -> Result<(), Error>; fn SetPosition(&self, x: Finite<f32>, y: Finite<f32>, z: Finite<f32>); fn SetOrientation(&self, x: Finite<f32>, y: Finite<f32>, z: Finite<f32>); fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, context: &BaseAudioContext, options: &PannerOptions, ) -> Result<Root<Dom<PannerNode>>, Error>;
}

Required Methods§

source

fn PanningModel(&self) -> PanningModelType

source

fn SetPanningModel(&self, value: PanningModelType)

source

fn PositionX(&self) -> Root<Dom<AudioParam>>

source

fn PositionY(&self) -> Root<Dom<AudioParam>>

source

fn PositionZ(&self) -> Root<Dom<AudioParam>>

source

fn OrientationX(&self) -> Root<Dom<AudioParam>>

source

fn OrientationY(&self) -> Root<Dom<AudioParam>>

source

fn OrientationZ(&self) -> Root<Dom<AudioParam>>

source

fn DistanceModel(&self) -> DistanceModelType

source

fn SetDistanceModel(&self, value: DistanceModelType)

source

fn RefDistance(&self) -> Finite<f64>

source

fn SetRefDistance(&self, value: Finite<f64>) -> Result<(), Error>

source

fn MaxDistance(&self) -> Finite<f64>

source

fn SetMaxDistance(&self, value: Finite<f64>) -> Result<(), Error>

source

fn RolloffFactor(&self) -> Finite<f64>

source

fn SetRolloffFactor(&self, value: Finite<f64>) -> Result<(), Error>

source

fn ConeInnerAngle(&self) -> Finite<f64>

source

fn SetConeInnerAngle(&self, value: Finite<f64>)

source

fn ConeOuterAngle(&self) -> Finite<f64>

source

fn SetConeOuterAngle(&self, value: Finite<f64>)

source

fn ConeOuterGain(&self) -> Finite<f64>

source

fn SetConeOuterGain(&self, value: Finite<f64>) -> Result<(), Error>

source

fn SetPosition(&self, x: Finite<f32>, y: Finite<f32>, z: Finite<f32>)

source

fn SetOrientation(&self, x: Finite<f32>, y: Finite<f32>, z: Finite<f32>)

source

fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, context: &BaseAudioContext, options: &PannerOptions, ) -> Result<Root<Dom<PannerNode>>, Error>

Object Safety§

This trait is not object safe.

Implementors§