Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NgxBaseComponent<T>

Injectable

Type parameters

  • T

Hierarchy

  • NgxBaseComponent

Implements

  • OnInit
  • AfterViewInit

Index

Constructors

constructor

Properties

camera

camera: NgxCameraComponent = null

The Camera of base component

cameraObject3d

cameraObject3d: I3JS.Camera = null

The Camera Object

controls

controls: T & IGuiBaseControl

The Controls of base component

controlsParams

controlsParams: IGuiControlParam[]

Controls params of base component

mesh

mesh: NgxMeshComponent = null

The Mesh of base component

Protected meshChildren

meshChildren: I3JS.Object3D<Event>[] = null

Mesh children of base component

meshObject3d

meshObject3d: I3JS.Object3D<Event> = null

Mesh object3d of base component

renderer

renderer: NgxRendererComponent = null

The Renderer of base component

scene

scene: NgxSceneComponent = null

The Scene of base component

sceneChildren

sceneChildren: I3JS.Object3D<Event>[] = null

The Scene of base component

sceneObject3d

sceneObject3d: I3JS.Scene = null

The Scene of base component

Methods

Protected addGui

Protected clearGui

  • clearGui(folder?: string): void

Protected consoleLog

  • consoleLog(key: string, object: any, level?: string): void

Protected consoleLogTime

  • consoleLogTime(key: string, object: any, repeat?: number): void

Protected getTimeout

  • getTimeout(timeDelay?: number): Promise<void>
  • Gets timeout 특정 시간후에 이벤트 발생시키기

    Parameters

    • timeDelay: number = 50

    Returns Promise<void>

    timeout

ngAfterViewInit

  • ngAfterViewInit(): void
  • A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.

    Returns void

ngOnDestroy

  • ngOnDestroy(): void
  • A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

    Returns void

ngOnInit

  • ngOnInit(): void
  • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

    Returns void

onRender

Protected replaceControlsValue

  • replaceControlsValue(newValue: any, key: string, parent?: any, reDraw?: boolean): void
  • Replaces controls value

    Parameters

    • newValue: any
    • key: string
    • parent: any = null
    • reDraw: boolean = true

    Returns void

setCamera

setControlsParams

  • setControlsParams(controlsParams?: IGuiControlParam[], addBaseParam?: boolean): void

setMesh

setRender

setScene

Protected subscribeRefer

  • subscribeRefer(key: string, subscription: Subscription): void

Protected unSubscribeRefer

  • unSubscribeRefer(key: string): void

Protected updateGuiController

  • updateGuiController(): void

Generated using TypeDoc