Drag[en]gine Script Module DragonScript
1.23
|
Navigation space resource 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... | |
bool | getHasPreloaded () |
Property has been preloaded. More... | |
LoadNavigationSpace | getLoader () |
Navigation spa ce loader. More... | |
NavigationSpace | getNavigationSpaceCopy () |
Copy of shared navigation space resource or null if not present. More... | |
NavigationSpace | getNavigationSpaceShared () |
Shared navigation space resource or null if not present. More... | |
String | getPath () |
Path to navigation space resource. More... | |
bool | logPreloadProblems (ElementClass elementClass, Console console) |
Log preloading problems. More... | |
ECPNavigationSpace | new (String name, LoadNavigationSpace loader) |
Create property. More... | |
ECPNavigationSpace | new (String name, LoadNavigationSpace loader, String path) |
Create property with initial path. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
void | setNavigationSpace (NavigationSpace navigationSpace) |
Set navigation space resource or null if not present. More... | |
void | setPath (String path) |
Set path to navigation space resource. 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... | |
ElementClassProperty | new (String name) |
Create property. More... | |
Navigation space resource element class property for use with XML loading.
Navigation space resource is set from XML using a path. Loads the resource during preloading. The value of the property is then the loaded resource. If loading fails null resource is stored.
void Dragengine.Scenery.ECPNavigationSpace.copyValue | ( | ElementClass | elementClass, |
ElementClassProperty | property | ||
) |
Copy value from another element class property of the same type.
bool Dragengine.Scenery.ECPNavigationSpace.getHasPreloaded | ( | ) |
Property has been preloaded.
LoadNavigationSpace Dragengine.Scenery.ECPNavigationSpace.getLoader | ( | ) |
Navigation spa ce loader.
NavigationSpace Dragengine.Scenery.ECPNavigationSpace.getNavigationSpaceCopy | ( | ) |
Copy of shared navigation space resource or null if not present.
NavigationSpace Dragengine.Scenery.ECPNavigationSpace.getNavigationSpaceShared | ( | ) |
Shared navigation space resource or null if not present.
String Dragengine.Scenery.ECPNavigationSpace.getPath | ( | ) |
Path to navigation space resource.
bool Dragengine.Scenery.ECPNavigationSpace.logPreloadProblems | ( | ElementClass | elementClass, |
Console | console | ||
) |
Log preloading problems.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
ECPNavigationSpace Dragengine.Scenery.ECPNavigationSpace.new | ( | String | name, |
LoadNavigationSpace | loader | ||
) |
Create property.
ECPNavigationSpace Dragengine.Scenery.ECPNavigationSpace.new | ( | String | name, |
LoadNavigationSpace | loader, | ||
String | path | ||
) |
Create property with initial path.
void Dragengine.Scenery.ECPNavigationSpace.preloadResources | ( | ElementClass | elementClass, |
PreloadCounter | counter | ||
) |
Preload resources if supported.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
void Dragengine.Scenery.ECPNavigationSpace.setNavigationSpace | ( | NavigationSpace | navigationSpace | ) |
Set navigation space resource or null if not present.
void Dragengine.Scenery.ECPNavigationSpace.setPath | ( | String | path | ) |
Set path to navigation space resource.
void Dragengine.Scenery.ECPNavigationSpace.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.