pub struct PannerOptions {
Show 14 fields pub panning_model: PanningModelType, pub distance_model: DistanceModelType, pub position_x: f32, pub position_y: f32, pub position_z: f32, pub orientation_x: f32, pub orientation_y: f32, pub orientation_z: f32, pub ref_distance: f64, pub max_distance: f64, pub rolloff_factor: f64, pub cone_inner_angle: f64, pub cone_outer_angle: f64, pub cone_outer_gain: f64,
}
Expand description

Options for constructing a PannerNode

Fields

panning_model: PanningModelTypedistance_model: DistanceModelTypeposition_x: f32position_y: f32position_z: f32orientation_x: f32orientation_y: f32orientation_z: f32ref_distance: f64max_distance: f64rolloff_factor: f64cone_inner_angle: f64cone_outer_angle: f64cone_outer_gain: f64

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.