Drag[en]gine Script Module DragonScript
1.23
|
Box area list 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... | |
BoxAreaList | getList () |
Box area list. More... | |
ECPBoxAreaList | new (String name) |
Create property. More... | |
ECPBoxAreaList | new (String name, BoxAreaList boxAreaList) |
Create property with initial value. More... | |
void | setList (BoxAreaList boxAreaList) |
Set box area list. More... | |
void | setValue (Object value) |
Set value of property from XML decoded value. 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... | |
Box area list element class property for use with XML loading.
Box area list is stored as BoxAreaList instance. From XML the box area list is read using a list type property string. Each list entry is a map defining one box area. The following example defines a box area list with one box area. The box has a position of (2,1,0), size of (3.6,2.4,0.8) and a rotation of (0,20,0) degrees.
void Dragengine.Scenery.ECPBoxAreaList.copyValue | ( | ElementClass | elementClass, |
ElementClassProperty | property | ||
) |
Copy value from another element class property of the same type.
BoxAreaList Dragengine.Scenery.ECPBoxAreaList.getList | ( | ) |
Box area list.
ECPBoxAreaList Dragengine.Scenery.ECPBoxAreaList.new | ( | String | name | ) |
Create property.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
ECPBoxAreaList Dragengine.Scenery.ECPBoxAreaList.new | ( | String | name, |
BoxAreaList | boxAreaList | ||
) |
Create property with initial value.
void Dragengine.Scenery.ECPBoxAreaList.setList | ( | BoxAreaList | boxAreaList | ) |
Set box area list.
void Dragengine.Scenery.ECPBoxAreaList.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.