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
basis: Basis
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.
origin: TypedVector3D<f32, UnknownUnit>
The translation offset of the transform.
Trait Implementations
impl<'l> From<&'l Transform> for Variant
impl<'l> From<&'l Transform> for Variant
impl Clone for Transform
impl Clone for Transform
fn clone(&self) -> Transform
fn clone(&self) -> Transform
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Transform
impl Debug for Transform
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Transform
impl Copy for Transform
impl PartialEq<Transform> for Transform
impl PartialEq<Transform> for Transform