|
|
Inherits SimObject, and SimObject.
Methods | |
| bool | addBehaviorField (fieldName, desc, type,[defaultValue, userData]) |
| bool | addBehaviorField (fieldName, desc, type,[defaultValue, userData]) |
| bool | addBehaviorInput (inputName, label, description) |
| bool | addBehaviorInput (inputName, label, description) |
| bool | addBehaviorOutput (outputName, label, description) |
| bool | addBehaviorOutput (outputName, label, description) |
| int | createInstance () |
| int | createInstance () |
| string | getBehaviorField (int fieldIndex) |
| string | getBehaviorField (int fieldIndex) |
| int | getBehaviorFieldCount () |
| int | getBehaviorFieldCount () |
| string | getBehaviorFieldDescription (int fieldIndex) |
| string | getBehaviorFieldDescription (int fieldIndex) |
| string | getBehaviorFieldUserData (int fieldIndex) |
| string | getBehaviorFieldUserData (int fieldIndex) |
| string | getBehaviorInput (int inputIndex) |
| string | getBehaviorInput (int inputIndex) |
| int | getBehaviorInputCount () |
| int | getBehaviorInputCount () |
| string | getBehaviorOutput (int outputIndex) |
| string | getBehaviorOutput (int outputIndex) |
| int | getBehaviorOutputCount () |
| int | getBehaviorOutputCount () |
| bool | hasBehaviorInput (inputName) |
| bool | hasBehaviorInput (inputName) |
| bool | hasBehaviorOutput (outputName) |
| bool | hasBehaviorOutput (outputName) |
Methods inherited from SimObject | |
| void | addFieldFilter (fieldName) |
| void | addFieldFilter (fieldName) |
| string | call (%args) |
| string | call (%args) |
| int | clone ([bool copyDynamicFields?=false]) |
| int | clone ([bool copyDynamicFields?=false]) |
| void | delete () |
| void | delete () |
| void | dump () |
| void | dump () |
| void | dumpClassHierarchy () |
| void | dumpClassHierarchy () |
| string | getClassName () |
| string | getClassName () |
| string | getClassNamespace () |
| string | getClassNamespace () |
| string | getDynamicField (index) |
| string | getDynamicField (index) |
| int | getDynamicFieldCount () |
| int | getDynamicFieldCount () |
| string | getField (int index) |
| string | getField (int index) |
| int | getFieldCount () |
| int | getFieldCount () |
| string | getFieldType (fieldName) |
| string | getFieldType (fieldName) |
| string | getFieldValue (fieldName) |
| string | getFieldValue (fieldName) |
| int | getGroup () |
| int | getGroup () |
| int | getId () |
| int | getId () |
| string | getInternalName () |
| string | getInternalName () |
| string | getName () |
| string | getName () |
| string | getProgenitorFile () |
| string | getProgenitorFile () |
| string | getSuperClassNamespace () |
| string | getSuperClassNamespace () |
| int | getType () |
| int | getType () |
| bool | isChildOfGroup () |
| bool | isChildOfGroup () |
| bool | isMemberOfClass (string classname) |
| bool | isMemberOfClass (string classname) |
| bool | isMethod (string method name) |
| bool | isMethod (string method name) |
| bool | isTimerActive () |
| bool | isTimerActive () |
| void | removeFieldFilter (fieldName) |
| void | removeFieldFilter (fieldName) |
| bool | save (fileName,[selectedOnly]) |
| bool | save (fileName,[selectedOnly]) |
| int | schedule (time, command,< arg1...argN >) |
| int | schedule (time, command,< arg1...argN >) |
| void | setClassNamespace () |
| void | setClassNamespace () |
| bool | setFieldValue (fieldName, value) |
| bool | setFieldValue (fieldName, value) |
| void | setInternalName () |
| void | setInternalName () |
| void | setName (newName) |
| void | setName (newName) |
| void | setProgenitorFile (file) |
| void | setProgenitorFile (file) |
| void | setSuperClassNamespace () |
| void | setSuperClassNamespace () |
| bool | startTimer (callbackFunction, float timePeriod,[repeat]) |
| bool | startTimer (callbackFunction, float timePeriod,[repeat]) |
| void | stopTimer () |
| void | stopTimer () |
Fields | |
Behavior | |
| caseString | friendlyName |
| caseString | description |
| string | behaviorType |
SimBase | |
| bool | canSaveDynamicFields |
| string | internalName |
| SimObjectPtr | parentGroup |
Namespace Linking | |
| string | superclass |
| string | class |
Fields inherited from SimObject | |
| bool | canSaveDynamicFields |
| string | internalName |
| SimObjectPtr | parentGroup |
| string | superclass |
| string | class |
| bool BehaviorTemplate::addBehaviorField | ( | fieldName | , |
| desc | , | ||
| type | |||
| ) |
Adds a named BehaviorField to a Behavior Template
| fieldName | The name of this field |
| desc | The Description of this field |
| type | The DataType for this field (default, int, float, Point2F, bool, enum, Object, keybind, color) |
| defaultValue | The Default value for this field |
| userData | An extra data field that can be used for custom data on a per-field basis Usage for default types -enum: a TAB separated list of possible values -object: the scene-object type that are valid choices for the field. The object types observe inheritance, so if you have a SceneObject field you will be able to choose t2dStaticSrpites, t2dAnimatedSprites, etc. |
| bool BehaviorTemplate::addBehaviorField | ( | fieldName | , |
| desc | , | ||
| type | |||
| ) |
Adds a named BehaviorField to a Behavior Template
| fieldName | The name of this field |
| desc | The Description of this field |
| type | The DataType for this field (default, int, float, Point2F, bool, enum, Object, keybind, color) |
| defaultValue | The Default value for this field |
| userData | An extra data field that can be used for custom data on a per-field basis Usage for default types -enum: a TAB separated list of possible values -object: the scene-object type that are valid choices for the field. The object types observe inheritance, so if you have a SceneObject field you will be able to choose t2dStaticSrpites, t2dAnimatedSprites, etc. |
| bool BehaviorTemplate::addBehaviorInput | ( | inputName | , |
| label | , | ||
| description | |||
| ) |
| inputName | The input name to use. |
| label | The short label name to show in the editor. |
| description | The long description to show in the editor. |
| bool BehaviorTemplate::addBehaviorInput | ( | inputName | , |
| label | , | ||
| description | |||
| ) |
| inputName | The input name to use. |
| label | The short label name to show in the editor. |
| description | The long description to show in the editor. |
| bool BehaviorTemplate::addBehaviorOutput | ( | outputName | , |
| label | , | ||
| description | |||
| ) |
| outputName | The output name to use. |
| label | The short label name to show in the editor. |
| description | The long description to show in the editor. |
| bool BehaviorTemplate::addBehaviorOutput | ( | outputName | , |
| label | , | ||
| description | |||
| ) |
| outputName | The output name to use. |
| label | The short label name to show in the editor. |
| description | The long description to show in the editor. |
| int BehaviorTemplate::createInstance | ( | ) |
| int BehaviorTemplate::createInstance | ( | ) |
| string BehaviorTemplate::getBehaviorField | ( | int | fieldIndex | ) |
| fieldIndex | The index of the behavior field. |
| string BehaviorTemplate::getBehaviorField | ( | int | fieldIndex | ) |
| fieldIndex | The index of the behavior field. |
| int BehaviorTemplate::getBehaviorFieldCount | ( | ) |
| int BehaviorTemplate::getBehaviorFieldCount | ( | ) |
| string BehaviorTemplate::getBehaviorFieldDescription | ( | int | fieldIndex | ) |
| fieldIndex | The index of the behavior field. |
| string BehaviorTemplate::getBehaviorFieldDescription | ( | int | fieldIndex | ) |
| fieldIndex | The index of the behavior field. |
| string BehaviorTemplate::getBehaviorFieldUserData | ( | int | fieldIndex | ) |
| fieldIndex | The index of the behavior field. |
| string BehaviorTemplate::getBehaviorFieldUserData | ( | int | fieldIndex | ) |
| fieldIndex | The index of the behavior field. |
| string BehaviorTemplate::getBehaviorInput | ( | int | inputIndex | ) |
| inputIndex | The index of the behavior input. |
| string BehaviorTemplate::getBehaviorInput | ( | int | inputIndex | ) |
| inputIndex | The index of the behavior input. |
| int BehaviorTemplate::getBehaviorInputCount | ( | ) |
| int BehaviorTemplate::getBehaviorInputCount | ( | ) |
| string BehaviorTemplate::getBehaviorOutput | ( | int | outputIndex | ) |
| outputIndex | The index of the behavior output. |
| string BehaviorTemplate::getBehaviorOutput | ( | int | outputIndex | ) |
| outputIndex | The index of the behavior output. |
| int BehaviorTemplate::getBehaviorOutputCount | ( | ) |
| int BehaviorTemplate::getBehaviorOutputCount | ( | ) |
| bool BehaviorTemplate::hasBehaviorInput | ( | inputName | ) |
| inputName | The input name to check. |
| bool BehaviorTemplate::hasBehaviorInput | ( | inputName | ) |
| inputName | The input name to check. |
| bool BehaviorTemplate::hasBehaviorOutput | ( | outputName | ) |
| outputName | The output name to check. |
| bool BehaviorTemplate::hasBehaviorOutput | ( | outputName | ) |
| outputName | The output name to check. |
| string BehaviorTemplate::behaviorType |
?? Organizational keyword ??
| bool BehaviorTemplate::canSaveDynamicFields |
| string BehaviorTemplate::class |
Script SuperClass of object.
| caseString BehaviorTemplate::description |
The description of this behavior.
| caseString BehaviorTemplate::friendlyName |
Human friendly name of this behavior
| string BehaviorTemplate::internalName |
| SimObjectPtr BehaviorTemplate::parentGroup |
Group hierarchy parent of the object.
| string BehaviorTemplate::superclass |
Script Class of object.