InteractionTrackerInertiaStateEnteredArgs
struct · ferroui-base · v0.5.0
struct InteractionTrackerInertiaStateEnteredArgs
The arguments of IInteractionTrackerOwner::inertia_state_entered.
Members
modified_resting_positionmodified_resting_scalenatural_resting_positionnatural_resting_scaleposition_velocity_in_pixels_per_secondscale_velocity_in_percent_per_secondrequest_idis_inertia_from_impulseis_from_binding
modified_resting_position
modified_resting_position: Option<crate::numerics::Vector3>
The resting position after the inertia modifiers and the boundaries.
modified_resting_scale
modified_resting_scale: Option<f32>
The resting scale after the inertia modifiers and the boundaries.
natural_resting_position
natural_resting_position: crate::numerics::Vector3
The resting position of the natural decay of the velocity.
natural_resting_scale
natural_resting_scale: f32
The resting scale of the natural decay of the scale velocity.
position_velocity_in_pixels_per_second
position_velocity_in_pixels_per_second: crate::numerics::Vector3
scale_velocity_in_percent_per_second
scale_velocity_in_percent_per_second: f32
request_id
request_id: i32
is_inertia_from_impulse
is_inertia_from_impulse: bool
Whether the inertia comes from a TryUpdate*WithAdditionalVelocity
request rather than from the end of an interaction.
is_from_binding
is_from_binding: bool
Always false: tracker binding is not ported.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.