Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SceneNode

Hierarchy

Index

Constructors

  • new SceneNode(name?: undefined | string): SceneNode

Properties

_children: SceneNode[] = []
_visible: boolean = true
modelMatrix: mat4 = ...
name?: string
normalMatrix: mat4 = ...
parentNode: null | SceneNode = null
position: vec3 = ...
rotation: vec3 = ...
scale: vec3 = ...
shouldUpdate: boolean = true
uid: string = ...
worldMatrix: mat4 = ...

Accessors

  • get levelIndex(): number
  • get visible(): boolean
  • set visible(v: boolean): void

Methods

  • findChildByName(name: string): null | SceneNode
  • findParentByName(name: string): null | SceneNode
  • render(): void
  • updateWorldMatrix(parentWorldMatrix?: null | mat4): SceneNode

Generated using TypeDoc