Drag[en]gine Script Module DragonScript
1.23
|
Composable component for element class. More...
Public Member Functions | |
Component | createComponent (Element element, StubElement stub) |
Initialize component for element from stub. More... | |
LayerMask | createLayerMask (StubElement stub) |
Create component layer mask. More... | |
ECPBoolean | getAffectsAudio () |
Prop affects audio. More... | |
ECPModel | getAudioModel () |
Audio model resource. More... | |
ECPBoolean | getEnableGI () |
Enable GI in graphic module if supported. More... | |
ECPInteger | getHintGIImportance () |
GI important hint. More... | |
ECPEnumeration | getHintMovement () |
Hint movement. More... | |
LayerMask | getLayerMask () |
Layer mask to set (basic layer mask). More... | |
LayerMask | getLayerMaskAffectsAudio () |
Layer mask to set if affects audio is true. More... | |
LayerMask | getLayerMaskRenderEnvMap () |
Layer mask to set if render environment map is true. More... | |
ECPModel | getModel () |
Model resource. More... | |
ECPOcclusionMesh | getOcclusionMesh () |
Occlusion mesh resource. More... | |
String | getPrefix () |
Property prefix. More... | |
ECPBoolean | getRenderEnvMap () |
Render prop in environment maps. More... | |
ECPRig | getRig () |
Rig resource. More... | |
ECPSkin | getSkin () |
Skin resource. More... | |
ECPTextureReplacementList | getTextureReplacements () |
Texture replacements. More... | |
ECComposeComponent | new (ElementClass ownerClass) |
Create composable element class. More... | |
ECComposeComponent | new (ElementClass ownerClass, ECPTextureReplacementList textureReplacement) |
Create composable element class. More... | |
ECComposeComponent | new (ElementClass ownerClass, ECPTextureReplacementList textureReplacement, String prefix) |
Create composable element class. More... | |
ECComposeComponent | new (ElementClass ownerClass, String prefix) |
Create composable element class. More... | |
void | replaceTextures (Component component, StubElement stub) |
Replace textures using element class and a stub. More... | |
void | setLayerMask (LayerMask layerMask) |
Set layer mask to set (basic layer mask). More... | |
void | setLayerMaskAffectsAudio (LayerMask layerMask) |
Set layer mask to set if affects audio is true. More... | |
void | setLayerMaskRenderEnvMap (LayerMask layerMask) |
Set layer mask to set if render environment map is true. More... | |
Composable component for element class.
Provides component support to element class without subclassing from a specific class.
Component Dragengine.Scenery.ECComposeComponent.createComponent | ( | Element | element, |
StubElement | stub | ||
) |
Initialize component for element from stub.
LayerMask Dragengine.Scenery.ECComposeComponent.createLayerMask | ( | StubElement | stub | ) |
Create component layer mask.
ECPBoolean Dragengine.Scenery.ECComposeComponent.getAffectsAudio | ( | ) |
Prop affects audio.
ECPModel Dragengine.Scenery.ECComposeComponent.getAudioModel | ( | ) |
Audio model resource.
ECPBoolean Dragengine.Scenery.ECComposeComponent.getEnableGI | ( | ) |
Enable GI in graphic module if supported.
ECPInteger Dragengine.Scenery.ECComposeComponent.getHintGIImportance | ( | ) |
GI important hint.
Value is in the range from 0 (very unimportant) to 4 (very important). This hint can be used by the graphic module to improve performance by excluding components with a GI important below a user chosen threashold. The default important is 4.
ECPEnumeration Dragengine.Scenery.ECComposeComponent.getHintMovement | ( | ) |
Hint movement.
LayerMask Dragengine.Scenery.ECComposeComponent.getLayerMask | ( | ) |
Layer mask to set (basic layer mask).
LayerMask Dragengine.Scenery.ECComposeComponent.getLayerMaskAffectsAudio | ( | ) |
Layer mask to set if affects audio is true.
LayerMask Dragengine.Scenery.ECComposeComponent.getLayerMaskRenderEnvMap | ( | ) |
Layer mask to set if render environment map is true.
ECPOcclusionMesh Dragengine.Scenery.ECComposeComponent.getOcclusionMesh | ( | ) |
Occlusion mesh resource.
String Dragengine.Scenery.ECComposeComponent.getPrefix | ( | ) |
Property prefix.
ECPBoolean Dragengine.Scenery.ECComposeComponent.getRenderEnvMap | ( | ) |
Render prop in environment maps.
ECPTextureReplacementList Dragengine.Scenery.ECComposeComponent.getTextureReplacements | ( | ) |
Texture replacements.
ECComposeComponent Dragengine.Scenery.ECComposeComponent.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.
ECComposeComponent Dragengine.Scenery.ECComposeComponent.new | ( | ElementClass | ownerClass, |
ECPTextureReplacementList | textureReplacement | ||
) |
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.
ECComposeComponent Dragengine.Scenery.ECComposeComponent.new | ( | ElementClass | ownerClass, |
ECPTextureReplacementList | textureReplacement, | ||
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.
ECComposeComponent Dragengine.Scenery.ECComposeComponent.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.ECComposeComponent.replaceTextures | ( | Component | component, |
StubElement | stub | ||
) |
Replace textures using element class and a stub.
void Dragengine.Scenery.ECComposeComponent.setLayerMask | ( | LayerMask | layerMask | ) |
Set layer mask to set (basic layer mask).
void Dragengine.Scenery.ECComposeComponent.setLayerMaskAffectsAudio | ( | LayerMask | layerMask | ) |
Set layer mask to set if affects audio is true.
void Dragengine.Scenery.ECComposeComponent.setLayerMaskRenderEnvMap | ( | LayerMask | layerMask | ) |
Set layer mask to set if render environment map is true.
ECPBoolean Dragengine.Scenery.ECComposeComponent.pAffectsAudio |
ECPModel Dragengine.Scenery.ECComposeComponent.pAudioModel |
ECPBoolean Dragengine.Scenery.ECComposeComponent.pEnableGI |
ECPInteger Dragengine.Scenery.ECComposeComponent.pHintGIImportance |
ECPEnumeration Dragengine.Scenery.ECComposeComponent.pHintMovement |
LayerMask Dragengine.Scenery.ECComposeComponent.pLayerMask |
LayerMask Dragengine.Scenery.ECComposeComponent.pLayerMaskAffectsAudio |
LayerMask Dragengine.Scenery.ECComposeComponent.pLayerMaskRenderEnvMap |
ECPModel Dragengine.Scenery.ECComposeComponent.pModel |
ECPOcclusionMesh Dragengine.Scenery.ECComposeComponent.pOcclusionMesh |
String Dragengine.Scenery.ECComposeComponent.pPrefix |
ECPBoolean Dragengine.Scenery.ECComposeComponent.pRenderEnvMap |
ECPRig Dragengine.Scenery.ECComposeComponent.pRig |
ECPSkin Dragengine.Scenery.ECComposeComponent.pSkin |
ECPTextureReplacementList Dragengine.Scenery.ECComposeComponent.pTextureReplacements |