Drag[en]gine Script Module DragonScript
1.23
|
Vector element class property for use with XML loading. More...
Public Member Functions | |
void | copyValue (ElementClass elementClass, ElementClassProperty property) |
Copy value from another element class property of the same type. More... | |
Vector | getVector () |
Vector. More... | |
Vector | getVector (StubWithProperties stub, CodecPropertyString codec) |
Color modified by stub property if present. More... | |
ECPVector | new (String name) |
Create property. More... | |
ECPVector | new (String name, Vector vector) |
Create property with initial path. More... | |
void | setValue (Object value) |
Set value of property from XML decoded value. More... | |
void | setVector (Vector vector) |
Set vector. More... | |
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty | |
void | dispose () |
Dispose of element class property to break reference loops. More... | |
String | getName () |
Name. More... | |
bool | logPreloadProblems (ElementClass elementClass, Console console) |
Log preloading problems. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
void Dragengine.Scenery.ECPVector.copyValue | ( | ElementClass | elementClass, |
ElementClassProperty | property | ||
) |
Copy value from another element class property of the same type.
Vector Dragengine.Scenery.ECPVector.getVector | ( | StubWithProperties | stub, |
CodecPropertyString | codec | ||
) |
Color modified by stub property if present.
If named stub property is not present or empty string the stored color is returned. If the named stub property is present it is decoded using codec.
The following property value formats are understood where "x", "y" and "z" are floating point values:
ECPVector Dragengine.Scenery.ECPVector.new | ( | String | name | ) |
Create property.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
Create property with initial path.
void Dragengine.Scenery.ECPVector.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
void Dragengine.Scenery.ECPVector.setVector | ( | Vector | vector | ) |
Set vector.