Struct three::object::Base [] [src]

pub struct Base { /* fields omitted */ }

Base represents a concrete entity that can be added to the scene.

One cannot construct Base directly. Wrapper types such as Camera, Mesh, and Group are provided instead.

Any type that implements Object may be converted to its concrete Base type with the method Object::upcast. This is useful for storing generic objects in containers.

Trait Implementations

impl AsRef<Base> for Source
[src]

[src]

Performs the conversion.

impl AsRef<Base> for Camera
[src]

[src]

Performs the conversion.

impl AsRef<Base> for Ambient
[src]

[src]

Performs the conversion.

impl AsRef<Base> for Directional
[src]

[src]

Performs the conversion.

impl AsRef<Base> for Hemisphere
[src]

[src]

Performs the conversion.

impl AsRef<Base> for Point
[src]

[src]

Performs the conversion.

impl AsRef<Base> for Mesh
[src]

[src]

Performs the conversion.

impl AsRef<Base> for DynamicMesh
[src]

[src]

Performs the conversion.

impl Clone for Base
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Base
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Base
[src]

impl Hash for Base
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Base
[src]

[src]

Formats the value using the given formatter. Read more

impl AsRef<Base> for Base
[src]

[src]

Performs the conversion.

impl Object for Base
[src]

[src]

Converts into the base type.

[src]

Invisible objects are not rendered by cameras.

[src]

Set both position, orientation and scale.

[src]

Set position.

[src]

Set orientation.

[src]

Set scale.

[src]

Set weights.

[src]

Rotates object in the specific direction of target.

impl AsRef<Base> for Group
[src]

[src]

Performs the conversion.

impl AsRef<Base> for Skeleton
[src]

[src]

Performs the conversion.

impl AsRef<Base> for Bone
[src]

[src]

Performs the conversion.

impl AsRef<Base> for Sprite
[src]

[src]

Performs the conversion.

impl AsRef<Base> for Text
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for Base

impl !Sync for Base