Luxar Viewer API Documentation - v2026.9.22
GitHub
Preparing search index...
data/scene-loader/view-state/derive-node-view-state
deriveNodeViewState
Function deriveNodeViewState
deriveNodeViewState
(
path
:
string
,
attrs
:
{
extend_to_all
?:
string
[]
}
|
undefined
,
baseViewState
:
ViewState
,
sceneGraph
:
SceneNode
|
null
,
opts
:
DeriveOpts
,
)
:
DerivedNodeViewState
Derive a per-node view state. Pure function; takes the base viewState
the scene-graph root (for computing the world
nd_transform
from the node up to the root) as inputs.
Parameters
path
:
string
attrs
:
{
extend_to_all
?:
string
[]
}
|
undefined
baseViewState
:
ViewState
sceneGraph
:
SceneNode
|
null
opts
:
DeriveOpts
Returns
DerivedNodeViewState
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
GitHub
Luxar Viewer API Documentation - v2026.9.22
Loading...
Derive a per-node view state. Pure function; takes the base viewState
nd_transformfrom the node up to the root) as inputs.