Preparing search index...
    Index

    Constructors

    Properties

    allowScaling: boolean = ...

    This class takes the inputs from the raycaster and uses it to control the frame manipulations as well as provide that information to visual affordance

    allowScalingTopLeft: boolean = ...
    allowScalingTopRight: boolean = ...
    isInZone: boolean = false
    isInZoneLast: boolean = false
    lastHovered: boolean = false
    onTranslationEnd: PublicApi<void> = ...

    Callback for when translation ends

    onTranslationStart: PublicApi<void> = ...

    Callback for when translation begins

    NOTE: The reason we need to add this event in FrameInputHandler, instead of relying on the container frame's internal InteractableManipulation component is because the way this class keeps track of state means that we don't set the InteractableManipulation's canTranslate property until after the user has started translating, which has the effect of causing InteractableManipulation to NOT invoke the onTranslationStart event.

    state: FrameState = ...

    Accessors

    • get isInteractable(): boolean

      Returns boolean

    • set isInteractable(isInteractable: boolean): void

      Parameters

      • isInteractable: boolean

      Returns void

    • get scalingLastFrame(): boolean

      Returns true if the frame was scaling last frame

      Returns boolean

    Methods