Options
All
  • Public
  • Public/Protected
  • All
Menu

Side handle class that rotates the slate

Hierarchy

Index

Constructors

Properties

Node of this handle

Accessors

  • set drag(value: boolean): void
  • Sets drag state

    Parameters

    • value: boolean

    Returns void

  • Returns the gizmo carrying this handle

    Returns SlateGizmo

  • set hover(value: boolean): void
  • Sets hover state

    Parameters

    • value: boolean

    Returns void

  • The current state of the handle

    Returns HandleState

Methods

  • dispose(): void
  • Disposes the handle

    Returns void

  • setDragBehavior(dragStartFn: (event: { position: Vector3 }) => void, dragFn: (event: { position: Vector3 }) => void, dragEndFn: () => void): void
  • Binds callbacks from dragging interaction

    Parameters

    • dragStartFn: (event: { position: Vector3 }) => void

      Function to call on drag start

    • dragFn: (event: { position: Vector3 }) => void

      Function to call on drag

    • dragEndFn: () => void

      Function to call on drag end

        • (): void
        • Returns void

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme