Struct three::controls::Orbit [] [src]

pub struct Orbit { /* fields omitted */ }

Simple controls for Orbital Camera.

Camera is rotating around the fixed point without any restrictions. By default, it uses left mouse button as control button (hold it to rotate) and mouse wheel to adjust distance to the central point.

Methods

impl Orbit
[src]

[src]

Create new Builder with default values.

[src]

Update current position and rotation of the controlled object according to the last frame input.

Trait Implementations

impl Clone for Orbit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Orbit
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Orbit

impl !Sync for Orbit