Drag[en]gine Script Module DragonScript
1.23
|
Composable billboard for element class. More...
Public Member Functions | |
Billboard | createBillboard (Element element, StubElement stub) |
Initialize billboard for element from stub. More... | |
LayerMask | createLayerMask (StubElement stub) |
Create billboard layer mask. More... | |
ECPVector | getAxis () |
Billboard axis. More... | |
LayerMask | getLayerMask () |
Layer mask to set (basic layer mask). More... | |
LayerMask | getLayerMaskRenderEnvMap () |
Layer mask to set if render environment map is true. More... | |
ECPBoolean | getLocked () |
Billboard is locked. More... | |
ECPVector2 | getOffset () |
Billboard offset. More... | |
String | getPrefix () |
Property prefix. More... | |
ECPBoolean | getRenderEnvMap () |
Render prop in environment maps. More... | |
ECPBoolean | getSizeFixedToScreen () |
Billboard size is fixed to the screen size. More... | |
ECPSkin | getSkin () |
Skin resource. More... | |
ECPBoolean | getSpherical () |
Billboard is spherical. More... | |
ECComposeBillboard | new (ElementClass ownerClass) |
Create composable element class. More... | |
ECComposeBillboard | new (ElementClass ownerClass, String prefix) |
Create composable element class. More... | |
void | setLayerMask (LayerMask layerMask) |
Set layer mask to set (basic layer mask). More... | |
void | setLayerMaskRenderEnvMap (LayerMask layerMask) |
Set layer mask to set if render environment map is true. More... | |
Composable billboard for element class.
Provides billboard support to element class without subclassing from a specific class.
Billboard Dragengine.Scenery.ECComposeBillboard.createBillboard | ( | Element | element, |
StubElement | stub | ||
) |
Initialize billboard for element from stub.
LayerMask Dragengine.Scenery.ECComposeBillboard.createLayerMask | ( | StubElement | stub | ) |
Create billboard layer mask.
LayerMask Dragengine.Scenery.ECComposeBillboard.getLayerMask | ( | ) |
Layer mask to set (basic layer mask).
LayerMask Dragengine.Scenery.ECComposeBillboard.getLayerMaskRenderEnvMap | ( | ) |
Layer mask to set if render environment map is true.
ECPBoolean Dragengine.Scenery.ECComposeBillboard.getLocked | ( | ) |
Billboard is locked.
ECPVector2 Dragengine.Scenery.ECComposeBillboard.getOffset | ( | ) |
Billboard offset.
String Dragengine.Scenery.ECComposeBillboard.getPrefix | ( | ) |
Property prefix.
ECPBoolean Dragengine.Scenery.ECComposeBillboard.getRenderEnvMap | ( | ) |
Render prop in environment maps.
ECPBoolean Dragengine.Scenery.ECComposeBillboard.getSizeFixedToScreen | ( | ) |
Billboard size is fixed to the screen size.
ECPBoolean Dragengine.Scenery.ECComposeBillboard.getSpherical | ( | ) |
Billboard is spherical.
ECComposeBillboard Dragengine.Scenery.ECComposeBillboard.new | ( | ElementClass | ownerClass | ) |
Create composable element class.
Adds all properties to ownerClass. If you do not want a property to be configurable using XML subclassing use ownerClass.removeProperty() to remove them.
ECComposeBillboard Dragengine.Scenery.ECComposeBillboard.new | ( | ElementClass | ownerClass, |
String | prefix | ||
) |
Create composable element class.
Adds all properties to ownerClass. If you do not want a property to be configurable using XML subclassing use ownerClass.removeProperty() to remove them.
void Dragengine.Scenery.ECComposeBillboard.setLayerMask | ( | LayerMask | layerMask | ) |
Set layer mask to set (basic layer mask).
void Dragengine.Scenery.ECComposeBillboard.setLayerMaskRenderEnvMap | ( | LayerMask | layerMask | ) |
Set layer mask to set if render environment map is true.