Drag[en]gine Script Module DragonScript
1.23
|
Element class property for use with XML loading. More...
Public Member Functions | |
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... | |
ElementClassProperty | new (String name) |
Create property. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
void | setValue (Object value) |
Set value of property from XML decoded value. More... | |
Element class property for use with XML loading.
Element class properties reduce the coding effort required to provide typical element class data. Furthermore they can be used for XML subclassing without extra code.
void Dragengine.Scenery.ElementClassProperty.dispose | ( | ) |
Dispose of element class property to break reference loops.
Reimplemented in Dragengine.Scenery.ECPElementClassMap, Dragengine.Scenery.ECPElementClassList, Dragengine.Scenery.ECPElementClass, Dragengine.Scenery.ECPAnimatorMap, and Dragengine.Scenery.ECBehaviorComposed.ECPChildren.
String Dragengine.Scenery.ElementClassProperty.getName | ( | ) |
Name.
bool Dragengine.Scenery.ElementClassProperty.logPreloadProblems | ( | ElementClass | elementClass, |
Console | console | ||
) |
Log preloading problems.
Reimplemented in Dragengine.Scenery.ECPVideo, Dragengine.Scenery.ECPSynthesizer, Dragengine.Scenery.ECPStateMachine, Dragengine.Scenery.ECPSound, Dragengine.Scenery.ECPSky, Dragengine.Scenery.ECPSkin, Dragengine.Scenery.ECPRig, Dragengine.Scenery.ECPParticleEmitter, Dragengine.Scenery.ECPOcclusionMesh, Dragengine.Scenery.ECPNavigationSpace, Dragengine.Scenery.ECPModel, Dragengine.Scenery.ECPImage, Dragengine.Scenery.ECPGuiTheme, Dragengine.Scenery.ECPFont, Dragengine.Scenery.ECPElementClass, Dragengine.Scenery.ECPConversation, Dragengine.Scenery.ECPBehaviorTree, Dragengine.Scenery.ECPAnnouncer, Dragengine.Scenery.ECPAnimator, and Dragengine.Scenery.ECPAnimation.
ElementClassProperty Dragengine.Scenery.ElementClassProperty.new | ( | String | name | ) |
Create property.
Reimplemented in Dragengine.Scenery.ECPVideo, Dragengine.Scenery.ECPVector2, Dragengine.Scenery.ECPVector, Dragengine.Scenery.ECPTextureReplacementList, Dragengine.Scenery.ECPStringMap, Dragengine.Scenery.ECPStringList, Dragengine.Scenery.ECPStringIDList, Dragengine.Scenery.ECPStringID, Dragengine.Scenery.ECPSoundList, Dragengine.Scenery.ECPSound, Dragengine.Scenery.ECPSkinList, Dragengine.Scenery.ECPSkin, Dragengine.Scenery.ECPRig, Dragengine.Scenery.ECPRectAreaMap, Dragengine.Scenery.ECPRectAreaList, Dragengine.Scenery.ECPPoint, Dragengine.Scenery.ECPOcclusionMesh, Dragengine.Scenery.ECPModel, Dragengine.Scenery.ECPImage, Dragengine.Scenery.ECPFont, Dragengine.Scenery.ECPFloatRectAreaMap, Dragengine.Scenery.ECPFloatRectAreaList, Dragengine.Scenery.ECPFloatList, Dragengine.Scenery.ECPCurveBezier3D, Dragengine.Scenery.ECPColor, Dragengine.Scenery.ECPBoxAreaList, and Dragengine.Scenery.ECPAnimation.
void Dragengine.Scenery.ElementClassProperty.preloadResources | ( | ElementClass | elementClass, |
PreloadCounter | counter | ||
) |
Preload resources if supported.
Reimplemented in Dragengine.Scenery.ECPVideo, Dragengine.Scenery.ECPSynthesizer, Dragengine.Scenery.ECPStateMachine, Dragengine.Scenery.ECPSound, Dragengine.Scenery.ECPSky, Dragengine.Scenery.ECPSkin, Dragengine.Scenery.ECPRig, Dragengine.Scenery.ECPParticleEmitter, Dragengine.Scenery.ECPOcclusionMesh, Dragengine.Scenery.ECPNavigationSpace, Dragengine.Scenery.ECPModel, Dragengine.Scenery.ECPImage, Dragengine.Scenery.ECPGuiTheme, Dragengine.Scenery.ECPFont, Dragengine.Scenery.ECPElementClassMap, Dragengine.Scenery.ECPElementClassList, Dragengine.Scenery.ECPElementClass, Dragengine.Scenery.ECPConversation, Dragengine.Scenery.ECPBehaviorTree, Dragengine.Scenery.ECPAnnouncer, Dragengine.Scenery.ECPAnimator, and Dragengine.Scenery.ECPAnimation.
void Dragengine.Scenery.ElementClassProperty.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented in Dragengine.Scenery.ECPVideo, Dragengine.Scenery.ECPVector2, Dragengine.Scenery.ECPVector, Dragengine.Scenery.ECPUnicodeString, Dragengine.Scenery.ECPTextureReplacementList, Dragengine.Scenery.ECPSynthesizer, Dragengine.Scenery.ECPStringMap, Dragengine.Scenery.ECPStringList, Dragengine.Scenery.ECPStringIDList, Dragengine.Scenery.ECPStringID, Dragengine.Scenery.ECPString, Dragengine.Scenery.ECPStateMachine, Dragengine.Scenery.ECPSoundList, Dragengine.Scenery.ECPSound, Dragengine.Scenery.ECPSky, Dragengine.Scenery.ECPSkinList, Dragengine.Scenery.ECPSkin, Dragengine.Scenery.ECPShapeList, Dragengine.Scenery.ECPRig, Dragengine.Scenery.ECPRectAreaMap, Dragengine.Scenery.ECPRectAreaList, Dragengine.Scenery.ECPRectArea, Dragengine.Scenery.ECPPoint, Dragengine.Scenery.ECPParticleEmitter, Dragengine.Scenery.ECPOcclusionMesh, Dragengine.Scenery.ECPNavigationSpace, Dragengine.Scenery.ECPModel, Dragengine.Scenery.ECPInteger, Dragengine.Scenery.ECPImage, Dragengine.Scenery.ECPGuiTheme, Dragengine.Scenery.ECPFont, Dragengine.Scenery.ECPFloatRectAreaMap, Dragengine.Scenery.ECPFloatRectAreaList, Dragengine.Scenery.ECPFloatRectArea, Dragengine.Scenery.ECPFloatList, Dragengine.Scenery.ECPFloat, Dragengine.Scenery.ECPEnumerationInt, Dragengine.Scenery.ECPElementClassMap, Dragengine.Scenery.ECPElementClassList, Dragengine.Scenery.ECPElementClass, Dragengine.Scenery.ECPCurveBezier3D, Dragengine.Scenery.ECPConversation, Dragengine.Scenery.ECPColor, Dragengine.Scenery.ECPBoxAreaList, Dragengine.Scenery.ECPBorderSize, Dragengine.Scenery.ECPBoolean, Dragengine.Scenery.ECPBehaviorTree, Dragengine.Scenery.ECPAnnouncer, Dragengine.Scenery.ECPAnimatorMap, Dragengine.Scenery.ECPAnimator, Dragengine.Scenery.ECPAnimation, and Dragengine.Scenery.ECBehaviorComposed.ECPChildren.