Struct three::Object [] [src]

pub struct Object { /* fields omitted */ }

Object represents an entity that can be added to the scene.

There is no need to use Object directly, there are specific wrapper types for each case (e.g. Camera, AmbientLight, Mesh, ...).

Methods

impl Object
[src]

Invisible objects are not rendered by cameras.

Rotates object in the specific direction of target.

Set both position, orientation and scale.

Set position.

Set orientation.

Set scale.

Get actual information about itself from the scene.

Panics

Panics if scene doesn't have this Object.

Trait Implementations

impl AsRef<NodePointer> for Object
[src]

Performs the conversion.

impl Clone for Object
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Object
[src]

Formats the value using the given formatter.