Search
Preparing search index...
The search index is not available
hwoa-rang-gl2
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
hwoa-rang-gl2
SceneNode
Class SceneNode
Hierarchy
Transform
SceneNode
Drawable
Index
Constructors
constructor
Properties
_children
_visible
model
Matrix
name
normal
Matrix
parent
Node
position
rotation
scale
should
Update
uid
world
Matrix
Accessors
children
level
Index
siblings
visible
Methods
add
Child
copy
From
Matrix
find
Child
find
Child
By
Name
find
Parent
find
Parent
By
Name
render
set
Parent
set
Position
set
Rotation
set
Scale
traverse
update
Model
Matrix
update
World
Matrix
Constructors
constructor
new
Scene
Node
(
name
?:
undefined
|
string
)
:
SceneNode
Parameters
name:
undefined
|
string
= undefined
Returns
SceneNode
Properties
Protected
_children
_children
:
SceneNode
[]
= []
Protected
_visible
_visible
:
boolean
= true
model
Matrix
model
Matrix
:
mat4
= ...
Optional
name
name
?:
string
normal
Matrix
normal
Matrix
:
mat4
= ...
parent
Node
parent
Node
:
null
|
SceneNode
= null
position
position
:
vec3
= ...
rotation
rotation
:
vec3
= ...
scale
scale
:
vec3
= ...
should
Update
should
Update
:
boolean
= true
uid
uid
:
string
= ...
world
Matrix
world
Matrix
:
mat4
= ...
Accessors
children
get
children
(
)
:
SceneNode
[]
Returns
SceneNode
[]
level
Index
get
levelIndex
(
)
:
number
Returns
number
siblings
get
siblings
(
)
:
SceneNode
[]
Returns
SceneNode
[]
visible
get
visible
(
)
:
boolean
set
visible
(
v
:
boolean
)
:
void
Returns
boolean
Parameters
v:
boolean
Returns
void
Methods
add
Child
add
Child
(
childNode
:
SceneNode
)
:
SceneNode
Parameters
childNode:
SceneNode
Returns
SceneNode
copy
From
Matrix
copy
From
Matrix
(
matrix
:
mat4
)
:
SceneNode
Parameters
matrix:
mat4
Returns
SceneNode
find
Child
find
Child
(
callback
:
findNodeInTreeCallback
)
:
null
|
SceneNode
Parameters
callback:
findNodeInTreeCallback
Returns
null
|
SceneNode
find
Child
By
Name
find
Child
By
Name
(
name
:
string
)
:
null
|
SceneNode
Parameters
name:
string
Returns
null
|
SceneNode
find
Parent
find
Parent
(
callback
:
findNodeInTreeCallback
)
:
null
|
SceneNode
Parameters
callback:
findNodeInTreeCallback
Returns
null
|
SceneNode
find
Parent
By
Name
find
Parent
By
Name
(
name
:
string
)
:
null
|
SceneNode
Parameters
name:
string
Returns
null
|
SceneNode
render
render
(
)
:
void
Returns
void
set
Parent
set
Parent
(
parentNode
?:
null
|
SceneNode
)
:
SceneNode
Parameters
parentNode:
null
|
SceneNode
= null
Returns
SceneNode
set
Position
set
Position
(
position
:
vec3
)
:
SceneNode
Parameters
position:
vec3
Returns
SceneNode
set
Rotation
set
Rotation
(
rotation
:
vec3
)
:
SceneNode
Parameters
rotation:
vec3
Returns
SceneNode
set
Scale
set
Scale
(
scale
:
vec3
)
:
SceneNode
Parameters
scale:
vec3
Returns
SceneNode
traverse
traverse
(
callback
:
traverseCallback
, depth
?:
number
)
:
void
Parameters
callback:
traverseCallback
depth:
number
= 0
Returns
void
update
Model
Matrix
update
Model
Matrix
(
)
:
SceneNode
Returns
SceneNode
update
World
Matrix
update
World
Matrix
(
parentWorldMatrix
?:
null
|
mat4
)
:
SceneNode
Parameters
parentWorldMatrix:
null
|
mat4
= null
Returns
SceneNode
Exports
Scene
Node
constructor
_children
_visible
model
Matrix
name
normal
Matrix
parent
Node
position
rotation
scale
should
Update
uid
world
Matrix
children
level
Index
siblings
visible
add
Child
copy
From
Matrix
find
Child
find
Child
By
Name
find
Parent
find
Parent
By
Name
render
set
Parent
set
Position
set
Rotation
set
Scale
traverse
update
Model
Matrix
update
World
Matrix
Generated using
TypeDoc