Struct gdnative_geom::Transform[][src]

#[repr(C)]
pub struct Transform { pub basis: Basis, pub origin: Vector3, }

3D Transformation (3x4 matrix) Using basis + origin representation.

Fields

The basis is a matrix containing 3 Vector3 as its columns: X axis, Y axis, and Z axis. These vectors can be interpreted as the basis vectors of local coordinate system traveling with the object.

The translation offset of the transform.

Trait Implementations

impl Copy for Transform
[src]

impl Clone for Transform
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Transform
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Transform
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Transform

impl Sync for Transform