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