|
proto external ResourceName | GetResourceID () |
|
proto external string | GetSourceFilePath () |
| Returns exact path to source file.
|
|
proto external void | Save () |
|
proto external string | GetClassName () |
|
proto external string | GetName () |
|
proto external void | SetName (string name) |
|
proto external BaseContainer | GetAncestor () |
|
proto external void | SetAncestor (ResourceName ancestor) |
|
proto external void | ClearVariable (string varName) |
|
proto external void | ClearVariables () |
|
proto external bool | IsVariableSet (string varName) |
|
proto external bool | IsVariableSetDirectly (string varName) |
|
proto external bool | IsType (string varName, TypeName type) |
|
proto external int | GetVarIndex (string varName) |
|
proto external string | GetVarName (int varIndex) |
|
proto external int | GetNumVars () |
|
proto external DataVarType | GetDataVarType (int varIndex) |
|
proto external string | GetUIWidget (int varIndex) |
| Return empty string or value from UIWidgets values.
|
|
proto external int | GetLimits (int varIndex, out float min, out float max, out float step) |
| Return limits from property params, return value indicates how many values was read (0 - none, 1 - min, 2 - min,max, 3 - min,max,step)
|
|
proto external void | GetEnumValues (int varIndex, out array< string > names, out array< int > values) |
|
proto external bool | Get (string varName, out void val) |
|
proto external bool | GetDefaultAsString (string varName, out string val) |
|
proto external BaseContainer | GetObject (string varName) |
|
proto external bool | SetObject (string varName, BaseContainer val) |
|
proto external ref BaseContainerList | GetObjectArray (string varName) |
| Get wrapper for array of objects (the list is read only).
|
|
proto external ref BaseContainerList | SetObjectArray (string varName) |
| Set array of objects.
|
|
proto external bool | Set (string varName, void val) |
|
proto external int | GetSourceAddons (out notnull array< string > addonNames) |
| Get list of addons where resource is defined or modified.
|
|
proto external BaseContainer | GetChild (int n) |
|
proto external int | GetNumChildren () |
|
proto external BaseContainer | GetParent () |
|
proto external BaseContainer | ToBaseContainer () |
|
proto external IEntitySource | ToEntitySource () |
|
proto external MeshObject | ToMeshObject () |
|
proto external AnimationSource | ToAnimation () |
|
proto external VObject | ToVObject () |
|
proto external void | Release (bool flush=false) |
| Release object.
|
|
proto external ResourceName | GetResourceName () |
| Returns name of visual object.
|
|
proto string | ToString () |
|