Enfusion Script API
|
General surface properties. More...
Public Member Functions | |
proto external PhysicsMaterial | GetPhysics () |
Returns physics surface properties. | |
Public Member Functions inherited from BaseContainer | |
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 () |
Public Member Functions inherited from BaseResourceObject | |
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. | |
Public Member Functions inherited from pointer | |
proto string | ToString () |
Additional Inherited Members | |
Static Public Member Functions inherited from BaseContainer | |
static proto BaseContainer | Cast (BaseContainer from) |
static proto bool | SafeCastType (out TypeName type, out BaseContainer to, BaseContainer from) |
This function is for internal script usage. | |
General surface properties.
proto external PhysicsMaterial SurfaceProperties.GetPhysics | ( | ) |
Returns physics surface properties.