Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected events

events: Array<EventDescriptor<string>>

isViewer

isViewer: boolean = true

uiObject

uiObject: Object3D

Methods

addObject

  • addObject(object: any, disposeParams?: IDisposeParams, parentObject?: Object3D): any
  • Function to add new mesh to uiObject, to automatize that disposing

    Parameters

    • object: any
    • Optional disposeParams: IDisposeParams

      What need to be disposed in mesh, when viewer is disposing

    • Default value parentObject: Object3D = this.uiObject

    Returns any

    object

dispose

  • dispose(): void

disposeObject

  • disposeObject(object?: Object3D | ViewerModule, disposeParams?: any): void

fire

  • fire(eventName: string | Array<string>, data?: ParentEvent<string>): this

getGlobalPosition

  • getGlobalPosition(): Vector3

off

  • off(eventName?: string, callback?: Function): this

on

  • on(eventName: string, callback1: Function, callback2?: Function): this

onInit

once

  • once(eventName: string, callback1: Function, callback2?: Function): this

removeObject

  • removeObject(object: any): void

update

  • update(): void

Legend

  • Namespace
  • Object literal
  • Variable
  • Function
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Constructor
  • Method
  • Inherited property
  • Inherited method
  • Enumeration
  • Interface

Generated using TypeDoc