pub struct TransformComponent { /* private fields */ }Implementations§
Source§impl TransformComponent
impl TransformComponent
pub fn matrix(&self) -> [f32; 16]
pub fn set_matrix(&self, matrix: [f32; 16])
pub fn resets_transform(&self) -> bool
pub fn set_resets_transform(&self, resets_transform: bool)
pub fn minimum_time(&self) -> f64
pub fn maximum_time(&self) -> f64
pub fn key_times(&self) -> Vec<f64>
pub fn local_transform_at_time(&self, time: f64) -> [f32; 16]
pub fn as_transform(&self) -> Option<Transform>
pub fn as_transform_stack(&self) -> Option<TransformStack>
pub fn global_transform_with_object(object: &Object, time: f64) -> [f32; 16]
Trait Implementations§
Source§impl Clone for TransformComponent
impl Clone for TransformComponent
Source§fn clone(&self) -> TransformComponent
fn clone(&self) -> TransformComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TransformComponent
impl RefUnwindSafe for TransformComponent
impl !Send for TransformComponent
impl !Sync for TransformComponent
impl Unpin for TransformComponent
impl UnsafeUnpin for TransformComponent
impl UnwindSafe for TransformComponent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more