FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InteractionTrackerInertiaStateEnteredArgs

    struct · ferroui-base · v0.5.0

    struct InteractionTrackerInertiaStateEnteredArgs
    

    The arguments of IInteractionTrackerOwner::inertia_state_entered.

    View source

    Members

    modified_resting_position

    modified_resting_position: Option<crate::numerics::Vector3>
    

    The resting position after the inertia modifiers and the boundaries.

    Source

    modified_resting_scale

    modified_resting_scale: Option<f32>
    

    The resting scale after the inertia modifiers and the boundaries.

    Source

    natural_resting_position

    natural_resting_position: crate::numerics::Vector3
    

    The resting position of the natural decay of the velocity.

    Source

    natural_resting_scale

    natural_resting_scale: f32
    

    The resting scale of the natural decay of the scale velocity.

    Source

    position_velocity_in_pixels_per_second

    position_velocity_in_pixels_per_second: crate::numerics::Vector3
    

    Source

    scale_velocity_in_percent_per_second

    scale_velocity_in_percent_per_second: f32
    

    Source

    request_id

    request_id: i32
    

    Source

    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.

    Source

    is_from_binding

    is_from_binding: bool
    

    Always false: tracker binding is not ported.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.