Constructors

Properties

allowScaling: boolean = ...
allowScalingTopLeft: boolean = ...
allowScalingTopRight: boolean = ...
gutterSize: vec2 = ...
lastHovered: boolean = false
maximumSize: vec2 = ...
minimumSize: vec2 = ...
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 = ...

Methods

  • Parameters

    Returns void