Struct gdnative_visual_script::common::Transform[]

#[repr(C)]
pub struct Transform { pub basis: Basis, pub origin: TypedVector3D<f32, UnknownUnit>, }

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<'l> From<&'l Transform> for Variant

Performs the conversion.

impl Clone for Transform

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Transform

Formats the value using the given formatter. Read more

impl Copy for Transform

impl PartialEq<Transform> for Transform

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