Struct three::Transform
[−]
[src]
pub struct Transform { pub position: Point3<f32>, pub orientation: Quaternion<f32>, pub scale: f32, }
Position, rotation, and scale of the scene node.
Fields
position: Point3<f32>
Position.
orientation: Quaternion<f32>
Orientation.
scale: f32
Scale.
Trait Implementations
impl Clone for Transform
[src]
fn clone(&self) -> Transform
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Transform
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Transform
[src]
fn eq(&self, __arg_0: &Transform) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Transform) -> bool
[src]
This method tests for !=
.
impl From<Decomposed<Vector3<f32>, Quaternion<f32>>> for Transform
[src]
fn from(tf: Decomposed<Vector3<f32>, Quaternion<f32>>) -> Self
[src]
Performs the conversion.