Show / Hide Table of Contents

    Touchable Volume

    The touchable volume component allows the user to interact with an object by touching it.

    Example

    Usage

    Create a UxtTouchableVolumeComponent on an Actor. By default, the volume will trigger events when the user interacts with any primitive on the actor. The can be configured by populating the Touchable Primitives set with the primitives that should trigger events, which will limit interaction to only the primitives contained in the set.

    Events

    The touchable volume generates several events that can be used to drive interactions:

    • OnBeginFocus: Event raised when a pointer starts focusing the touchable volume.
    • OnUpdateFocus: Event raised when a focusing pointer updates.
    • OnEndFocus: Event raised when a pointer ends focusing the touchable volume.
    • OnBeginPoke: Event raised when a pointer starts poking the touchable volume.
    • OnUpdatePoke: Event raised while a pointer is poking the touchable volume.
    • OnEndPoke: Event raised when a pointer ends poking the touchable volume.
    • OnVolumeEnabled: Event raised when the volume is enabled.
    • OnVolumeDisabled: Event raised when the volume is disabled.
    • Improve this Doc
    Back to top Generated by DocFX