Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Gizmos

Hierarchy

  • Gizmos

Index

Constructors

constructor

Methods

Static IsEmpty

  • IsEmpty(): boolean
  • Returns boolean

Static clearAllGizmos

  • clearAllGizmos(): void
  • Returns void

Static createCircleGizmo

  • createCircleGizmo(center?: DeepImmutableObject<Vector3>, radius?: number, radian?: number, startRadian?: number): CircleGizmo
  • Parameters

    • center: DeepImmutableObject<Vector3> = ...
    • radius: number = 1
    • radian: number = ...
    • startRadian: number = 0

    Returns CircleGizmo

Static createCubeGizmo

  • createCubeGizmo(center: DeepImmutableObject<Vector3>, size: DeepImmutableObject<Vector3>): CubeGizmo
  • Parameters

    • center: DeepImmutableObject<Vector3>
    • size: DeepImmutableObject<Vector3>

    Returns CubeGizmo

Static createLineGizmo

  • createLineGizmo(start: DeepImmutableObject<Vector3>, end: DeepImmutableObject<Vector3>): LineGizmo
  • Parameters

    • start: DeepImmutableObject<Vector3>
    • end: DeepImmutableObject<Vector3>

    Returns LineGizmo

Static createMeshGizmo

  • createMeshGizmo(center: DeepImmutableObject<Vector3>, scale: DeepImmutableObject<Vector3>, mesh: Mesh): MeshGizmo
  • Parameters

    Returns MeshGizmo

Static createRectGizmo

  • createRectGizmo(x?: number, z?: number): RectGizmo
  • Parameters

    • x: number = 1
    • z: number = 1

    Returns RectGizmo

Static removeGizmo

  • removeGizmo(gizmo: BaseGizmo): void
  • Parameters

    • gizmo: BaseGizmo

    Returns void

Static update

  • Parameters

    Returns void

Generated using TypeDoc