pub enum TransformComponentEvent {
Matrix,
SetMatrix([f32; 16]),
ResetsTransform,
SetResetsTransform(bool),
MinimumTime,
MaximumTime,
KeyTimes,
SetLocalTransform([f32; 16]),
SetLocalTransformForTime {
transform: [f32; 16],
time: f64,
},
LocalTransformAtTime(f64),
}Expand description
Describes one MDLTransformComponent protocol request routed into Rust.
Variants§
Matrix
Requests the current matrix.
SetMatrix([f32; 16])
Updates the current matrix.
ResetsTransform
Requests whether the transform resets parent-space transforms.
SetResetsTransform(bool)
Updates whether the transform resets parent-space transforms.
MinimumTime
Requests the minimum sample time.
MaximumTime
Requests the maximum sample time.
KeyTimes
Requests the stored key times.
SetLocalTransform([f32; 16])
Sets a non-animated local transform.
SetLocalTransformForTime
Sets a sampled local transform at the requested time.
LocalTransformAtTime(f64)
Requests the local transform at the requested time.
Trait Implementations§
Source§impl Clone for TransformComponentEvent
impl Clone for TransformComponentEvent
Source§fn clone(&self) -> TransformComponentEvent
fn clone(&self) -> TransformComponentEvent
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 TransformComponentEvent
impl RefUnwindSafe for TransformComponentEvent
impl Send for TransformComponentEvent
impl Sync for TransformComponentEvent
impl Unpin for TransformComponentEvent
impl UnsafeUnpin for TransformComponentEvent
impl UnwindSafe for TransformComponentEvent
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