Trait three::Object [] [src]

pub trait Object: AsRef<Base> {
    fn upcast(&self) -> Base { ... }
fn set_visible(&self, visible: bool) { ... }
fn set_transform<P, Q>(&self, pos: P, rot: Q, scale: f32)
    where
        Self: Sized,
        P: Into<Point3<f32>>,
        Q: Into<Quaternion<f32>>
, { ... }
fn set_position<P>(&self, pos: P)
    where
        Self: Sized,
        P: Into<Point3<f32>>
, { ... }
fn set_orientation<Q>(&self, rot: Q)
    where
        Self: Sized,
        Q: Into<Quaternion<f32>>
, { ... }
fn set_scale(&self, scale: f32) { ... }
fn set_weights(&self, weights: Vec<f32>) { ... }
fn look_at<E, T>(&self, eye: E, target: T, up: Option<Vector3<f32>>)
    where
        Self: Sized,
        E: Into<Point3<f32>>,
        T: Into<Point3<f32>>
, { ... } }

Marks data structures that are able to added to the scene graph.

Provided Methods

Converts into the base type.

Invisible objects are not rendered by cameras.

Set both position, orientation and scale.

Set position.

Set orientation.

Set scale.

Set weights.

Rotates object in the specific direction of target.

Implementors