Drag[en]gine Script Module DragonScript
1.23
|
Composable navigation space for element class. More...
Public Member Functions | |
NavigationSpace | createNavigationSpace (Element element, StubElement stub) |
Create navigation space or null if not used. More... | |
ECPShapeList | getBlockerShape () |
Navigation blocker shape or null if not set. More... | |
ECPInteger | getBlockingPriority () |
Navigation space blocking priority. More... | |
ECPInteger | getLayer () |
Navigation space layer number. More... | |
String | getPrefix () |
Property prefix. More... | |
ECPFloat | getSnapDistance () |
Navigation space snap distance in meters. More... | |
ECPNavigationSpace | getSpace () |
Navigation space or null if not set. More... | |
ECComposeNavigationSpace | new (ElementClass ownerClass, Loaders loaders) |
Create composable element class. More... | |
ECComposeNavigationSpace | new (ElementClass ownerClass, Loaders loaders, String prefix) |
Composable navigation space for element class.
Provides navigation space and navigation blocking support to element class without subclassing from a specific class. Creates NavigationSpace resource.
NavigationSpace Dragengine.Scenery.ECComposeNavigationSpace.createNavigationSpace | ( | Element | element, |
StubElement | stub | ||
) |
Create navigation space or null if not used.
ECPShapeList Dragengine.Scenery.ECComposeNavigationSpace.getBlockerShape | ( | ) |
Navigation blocker shape or null if not set.
ECPInteger Dragengine.Scenery.ECComposeNavigationSpace.getBlockingPriority | ( | ) |
Navigation space blocking priority.
ECPInteger Dragengine.Scenery.ECComposeNavigationSpace.getLayer | ( | ) |
Navigation space layer number.
String Dragengine.Scenery.ECComposeNavigationSpace.getPrefix | ( | ) |
Property prefix.
ECPFloat Dragengine.Scenery.ECComposeNavigationSpace.getSnapDistance | ( | ) |
Navigation space snap distance in meters.
ECPNavigationSpace Dragengine.Scenery.ECComposeNavigationSpace.getSpace | ( | ) |
Navigation space or null if not set.
ECComposeNavigationSpace Dragengine.Scenery.ECComposeNavigationSpace.new | ( | ElementClass | ownerClass, |
Loaders | loaders | ||
) |
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.
ECComposeNavigationSpace Dragengine.Scenery.ECComposeNavigationSpace.new | ( | ElementClass | ownerClass, |
Loaders | loaders, | ||
String | prefix | ||
) |