Свойство | Type | Description | |
---|---|---|---|
defaultModel | string | ||
modelNodes | SSTUTools.ModelNode[] | ||
name | string | ||
owner | |||
parentGroup | string | ||
parentNode | string |
Свойство | Type | Description | |
---|---|---|---|
add | void | ||
addChild | void | ||
disableGroup | void | ||
enable | void | ||
enable | void | ||
enableDefaultModel | |||
enableGroup | void | ||
findNode | |||
get | |||
get | |||
getModelNames | string[] | ||
getModelRootTransform | |||
getPersistentData | string | ||
initializeModels | void | ||
initializeRoot | void | ||
isAvailable | bool | ||
isChildAtNodeEnabled | bool | ||
load | void | ||
preInitialize | void | ||
setupNodesForModel | void |
Méthode | Description | |
---|---|---|
ModelSwitchGroup ( |
Méthode | Description | |
---|---|---|
add ( |
||
addChild ( |
||
disableGroup ( ) : void |
Disable this model group; recurse through children and disable them, delete all models, delete all model nodes
|
|
enable ( |
||
enable ( string modelName ) : void | ||
enableDefaultModel ( ) : |
Update the enabled/disabled status for all models, setting the default model to enabled==true
|
|
enableGroup ( ) : void |
Enable this model group; enable on default model, links up models to nodes, upwards-recurse enable children groups
|
|
findNode ( string name ) : |
||
get ( int index ) : |
||
get ( string name ) : |
||
getModelNames ( ) : string[] |
Return an array containing the names of the models for this group; to be used to populate GUI selection data
|
|
getModelRootTransform ( ) : |
||
getPersistentData ( ) : string | ||
initializeModels ( ) : void |
build currently enabled model, ensure no others are present
|
|
initializeRoot ( ) : void |
To be called on all model groups.
|
|
isAvailable ( ) : bool |
Return true if this group should be available for GUI selection for editing; depends on if parent group is null or enabled
|
|
isChildAtNodeEnabled ( string nodeName ) : bool | ||
load ( string data ) : void | ||
preInitialize ( ) : void |
initialize the default values for model-data; this occurs prior to load()
|
|
setupNodesForModel ( |
enable/disable nodes depending on if they are enabled/disabled for the currently enabled model
|
public ModelSwitchGroup ( |
||
node | ||
module | ||
Résultat | System |
public ModelNode[],SSTUTools modelNodes | ||
Résultat | SSTUTools.ModelNode[] |