Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.ECComposeBillboard Class Reference

Composable billboard for element class. More...

Inheritance diagram for Dragengine.Scenery.ECComposeBillboard:

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...
 

Detailed Description

Composable billboard for element class.

Provides billboard support to element class without subclassing from a specific class.

Member Function Documentation

◆ createBillboard()

Billboard Dragengine.Scenery.ECComposeBillboard.createBillboard ( Element  element,
StubElement  stub 
)

Initialize billboard for element from stub.

◆ createLayerMask()

LayerMask Dragengine.Scenery.ECComposeBillboard.createLayerMask ( StubElement  stub)

Create billboard layer mask.

◆ getAxis()

ECPVector Dragengine.Scenery.ECComposeBillboard.getAxis ( )

Billboard axis.

◆ getLayerMask()

LayerMask Dragengine.Scenery.ECComposeBillboard.getLayerMask ( )

Layer mask to set (basic layer mask).

◆ getLayerMaskRenderEnvMap()

LayerMask Dragengine.Scenery.ECComposeBillboard.getLayerMaskRenderEnvMap ( )

Layer mask to set if render environment map is true.

◆ getLocked()

ECPBoolean Dragengine.Scenery.ECComposeBillboard.getLocked ( )

Billboard is locked.

◆ getOffset()

ECPVector2 Dragengine.Scenery.ECComposeBillboard.getOffset ( )

Billboard offset.

◆ getPrefix()

String Dragengine.Scenery.ECComposeBillboard.getPrefix ( )

Property prefix.

◆ getRenderEnvMap()

ECPBoolean Dragengine.Scenery.ECComposeBillboard.getRenderEnvMap ( )

Render prop in environment maps.

◆ getSizeFixedToScreen()

ECPBoolean Dragengine.Scenery.ECComposeBillboard.getSizeFixedToScreen ( )

Billboard size is fixed to the screen size.

◆ getSkin()

ECPSkin Dragengine.Scenery.ECComposeBillboard.getSkin ( )

Skin resource.

◆ getSpherical()

ECPBoolean Dragengine.Scenery.ECComposeBillboard.getSpherical ( )

Billboard is spherical.

◆ new() [1/2]

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.

◆ new() [2/2]

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.

◆ setLayerMask()

void Dragengine.Scenery.ECComposeBillboard.setLayerMask ( LayerMask  layerMask)

Set layer mask to set (basic layer mask).

◆ setLayerMaskRenderEnvMap()

void Dragengine.Scenery.ECComposeBillboard.setLayerMaskRenderEnvMap ( LayerMask  layerMask)

Set layer mask to set if render environment map is true.


The documentation for this class was generated from the following file: