Constructors

Properties

allowScaling: boolean = ...
allowScalingTopLeft: boolean = ...
allowScalingTopRight: boolean = ...
aspect: vec2 = ...
corner: vec2 = ...
cursorHandler: CursorHandler = ...
edge: number = 0.5

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

frame: ContainerFrame = ...
gutterSize: vec2 = ...
lastHovered: boolean = false
lastTouch: vec3 = ...
manipulate: InteractableManipulation = ...
maximumSize: vec2 = ...
minimumSize: vec2 = ...
mode: Modes = Modes.Auto
onTranslationEnd: PublicApi<void> = ...

Callback for when translation ends

onTranslationEndEvent: default<void> = ...
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.

onTranslationStartEvent: default<void> = ...
parentTransform: Transform = ...
scalingStarted: boolean = false
state: FrameState = ...
target: SceneObject = ...
targetTransform: Transform = ...
targetWorldScaleCache: vec3 = ...

Accessors

  • get isInteractable(): boolean

    Returns boolean

  • get scaleAmplifier(): number

    Returns number

Methods

  • Parameters

    • isTranslating: boolean

    Returns void

  • Parameters

    Returns void

MMNEPVFCICPMFPCPTTAAATR