Struct three::NodeTransform
[−]
[src]
pub struct NodeTransform { 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 NodeTransform
[src]
fn clone(&self) -> NodeTransform
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for NodeTransform
[src]
impl From<Decomposed<Vector3<f32>, Quaternion<f32>>> for NodeTransform
[src]
fn from(tf: Decomposed<Vector3<f32>, Quaternion<f32>>) -> Self
Performs the conversion.