Drag[en]gine Script Module DragonScript
1.23
|
Composable force field for element class. More...
Public Member Functions | |
void | collisionCategoryClearBit (int bit) |
Convience function clearing bit in collision category. More... | |
void | collisionCategoryReplace (LayerMask layerMask) |
Convience function replacing collision category. More... | |
void | collisionCategorySetBit (int bit) |
Convience function setting bit in collision category. More... | |
void | collisionFilterClearBit (int bit) |
Convience function clearing bit in collision filter. More... | |
void | collisionFilterSetBit (int bit) |
Convience function setting bit in collision filter. More... | |
ForceField | createForceField (Element element, StubElement stub) |
Initialize force field for element from stub. More... | |
TSTriggerExpression | createTriggerEnable (Element element, StubElement stub) |
Create activate force field trigger expression from stub or null if not used. More... | |
TSTriggerExpression | createTriggerEnable (Element element, StubElement stub, String defaultValue) |
Create activate force field trigger expression from stub or null if not used. More... | |
ECPEnumeration | getApplicationType () |
Force application type. More... | |
CollisionFilter | getCollisionFilter () |
Collision filter. More... | |
ECPVector | getDirection () |
Force direction. More... | |
ECPBoolean | getEnabled () |
Initial force field enabled state. More... | |
ECPFloat | getExponent () |
Falloff exponent. More... | |
ECPEnumeration | getFieldType () |
Field type. More... | |
ECPFloat | getFluctuationDirection () |
Fluctuation of direction in degrees. More... | |
ECPFloat | getFluctuationForce () |
Fluctuation of force in newton. More... | |
ECPFloat | getForce () |
Force in newton. More... | |
ECPShapeList | getInfluenceArea () |
Influence area. More... | |
String | getPrefix () |
Property prefix. More... | |
ECPFloat | getRadius () |
Falloff radius. More... | |
ECPShapeList | getShape () |
Speaker shape. More... | |
ECComposeForceField | new (ElementClass ownerClass) |
Create composable element class. More... | |
ECComposeForceField | new (ElementClass ownerClass, String prefix) |
Create composable element class. More... | |
void | setCollisionFilter (CollisionFilter collisionFilter) |
Set collision filter. More... | |
Composable force field for element class.
Provides force field support to element class without subclassing from a specific class.
void Dragengine.Scenery.ECComposeForceField.collisionCategoryClearBit | ( | int | bit | ) |
Convience function clearing bit in collision category.
void Dragengine.Scenery.ECComposeForceField.collisionCategoryReplace | ( | LayerMask | layerMask | ) |
Convience function replacing collision category.
void Dragengine.Scenery.ECComposeForceField.collisionCategorySetBit | ( | int | bit | ) |
Convience function setting bit in collision category.
void Dragengine.Scenery.ECComposeForceField.collisionFilterClearBit | ( | int | bit | ) |
Convience function clearing bit in collision filter.
void Dragengine.Scenery.ECComposeForceField.collisionFilterSetBit | ( | int | bit | ) |
Convience function setting bit in collision filter.
ForceField Dragengine.Scenery.ECComposeForceField.createForceField | ( | Element | element, |
StubElement | stub | ||
) |
Initialize force field for element from stub.
TSTriggerExpression Dragengine.Scenery.ECComposeForceField.createTriggerEnable | ( | Element | element, |
StubElement | stub | ||
) |
Create activate force field trigger expression from stub or null if not used.
TSTriggerExpression Dragengine.Scenery.ECComposeForceField.createTriggerEnable | ( | Element | element, |
StubElement | stub, | ||
String | defaultValue | ||
) |
Create activate force field trigger expression from stub or null if not used.
ECPEnumeration Dragengine.Scenery.ECComposeForceField.getApplicationType | ( | ) |
Force application type.
CollisionFilter Dragengine.Scenery.ECComposeForceField.getCollisionFilter | ( | ) |
Collision filter.
ECPVector Dragengine.Scenery.ECComposeForceField.getDirection | ( | ) |
Force direction.
ECPBoolean Dragengine.Scenery.ECComposeForceField.getEnabled | ( | ) |
Initial force field enabled state.
ECPFloat Dragengine.Scenery.ECComposeForceField.getExponent | ( | ) |
Falloff exponent.
ECPEnumeration Dragengine.Scenery.ECComposeForceField.getFieldType | ( | ) |
Field type.
ECPFloat Dragengine.Scenery.ECComposeForceField.getFluctuationDirection | ( | ) |
Fluctuation of direction in degrees.
ECPFloat Dragengine.Scenery.ECComposeForceField.getFluctuationForce | ( | ) |
Fluctuation of force in newton.
ECPFloat Dragengine.Scenery.ECComposeForceField.getForce | ( | ) |
Force in newton.
ECPShapeList Dragengine.Scenery.ECComposeForceField.getInfluenceArea | ( | ) |
Influence area.
String Dragengine.Scenery.ECComposeForceField.getPrefix | ( | ) |
Property prefix.
ECPFloat Dragengine.Scenery.ECComposeForceField.getRadius | ( | ) |
Falloff radius.
ECPShapeList Dragengine.Scenery.ECComposeForceField.getShape | ( | ) |
Speaker shape.
ECComposeForceField Dragengine.Scenery.ECComposeForceField.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.
ECComposeForceField Dragengine.Scenery.ECComposeForceField.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.ECComposeForceField.setCollisionFilter | ( | CollisionFilter | collisionFilter | ) |
Set collision filter.