Trait amethyst_rhusics::AsTransform [−][src]
pub trait AsTransform { fn as_transform(&self) -> Transform; }
Utility trait for converting a transform type into an amethyst Transform
.
Required Methods
fn as_transform(&self) -> Transform
Convert to Transform
Implementations on Foreign Types
impl<P, R> AsTransform for BodyPose<P, R> where
P: EuclideanSpace<Scalar = f32> + Convert<Output = Vector3<f32>>,
R: Rotation<P> + Convert<Output = Quaternion<f32>>,
[src]
impl<P, R> AsTransform for BodyPose<P, R> where
P: EuclideanSpace<Scalar = f32> + Convert<Output = Vector3<f32>>,
R: Rotation<P> + Convert<Output = Quaternion<f32>>,
fn as_transform(&self) -> Transform
[src]
fn as_transform(&self) -> Transform