Property | Type | Description | |
---|---|---|---|
containerIndex | int | ||
enabled | bool | ||
group | |||
groupName | string | ||
localPosition | Vector3 | ||
localRotation | Vector3 | ||
modelDefinition | SSTUTools.ModelDefinition | ||
modelName | string | ||
moduleIDs | int[] | ||
name | string | ||
nodes | SSTUTools.ModelNodeData[] | ||
part | Part | ||
scale | float | ||
suppressNode | bool |
Method | Description | |
---|---|---|
ModelSwitchData ( |
Method | Description | |
---|---|---|
disable ( ) : void | ||
enable ( ) : void | ||
getBaseTransform ( ) : |
Get (and/or create) the base transform for this model to reside upon Base transform is parented to the 'parent' transform (defaults to 'model') Base transform has local position and rotation applied to it; model is then parented to this new base transform
|
|
getBaseTransformName ( ) : string | ||
getParentTransform ( ) : |
||
getPersistentData ( ) : int | ||
initialize ( ) : void | ||
loadPersistentData ( string val ) : void | ||
setupModel ( ) : void |
public ModelSwitchData ( |
||
node | ||
owner | Part | |
group | ||
return | System |
public ModelDefinition,SSTUTools modelDefinition | ||
return | SSTUTools.ModelDefinition |