Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class for SlateGizmo handles

Hierarchy

Index

Constructors

  • Creates a handle for a SlateGizmo

    Parameters

    Returns GizmoHandle

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

  • Creates the meshes and parent node of the handle Should be overridden by child classes

    Returns TransformNode

    created node

  • 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