Struct camera_controllers::OrbitZoomCamera [] [src]

pub struct OrbitZoomCamera<T = f32> {
    pub target: Vector3<T>,
    pub rotation: Quaternion<T>,
    pub pitch: T,
    pub yaw: T,
    pub distance: T,
    pub settings: OrbitZoomCameraSettings<T>,
    // some fields omitted
}

A 3dsMax / Blender-style camera that orbits around a target point

Fields

origin of camera rotation

Rotation of camera

Pitch up/down from target

Yaw left/right from target

camera distance from target

Settings for the camera

Methods

impl<T: Float> OrbitZoomCamera<T>
[src]

[src]

Create a new OrbitZoomCamera targeting the given coordinates

[src]

Return a Camera for the current OrbitZoomCamera configuration

[src]

Respond to scroll and key press/release events