Enum three_d::window::control::CameraAction [−][src]
pub enum CameraAction {
None,
Pitch {
speed: f32,
},
OrbitUp {
target: Vec3,
speed: f32,
},
Yaw {
speed: f32,
},
OrbitLeft {
target: Vec3,
speed: f32,
},
Roll {
speed: f32,
},
Left {
speed: f32,
},
Up {
speed: f32,
},
Forward {
speed: f32,
},
Zoom {
target: Vec3,
speed: f32,
min: f32,
max: f32,
},
}Variants
None
Pitch
Fields
speed: f32OrbitUp
Yaw
Fields
speed: f32OrbitLeft
Roll
Fields
speed: f32Left
Fields
speed: f32Up
Fields
speed: f32Forward
Fields
speed: f32Zoom
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CameraAction
impl Send for CameraAction
impl Sync for CameraAction
impl Unpin for CameraAction
impl UnwindSafe for CameraAction
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
