|
Drag[en]gine Script Module DragonScript 1.32.1
|
Force field. More...
Public Member Functions | |
Constructors | |
| ForceField | new () |
| Create force field. | |
Management | |
| DVector | getPosition () |
| Position. | |
| void | setPosition (DVector position) |
| Set position. | |
| Quaternion | getOrientation () |
| Orientation. | |
| void | setOrientation (Quaternion orientation) |
| Set orientation. | |
| World | getParentWorld () |
| Parent world or null if not added to a world. | |
| ShapeList | getInfluenceArea () |
| Influence area. | |
| void | setInfluenceArea (ShapeList area) |
| Set influence area. | |
| float | getRadius () |
| Falloff radius. | |
| void | setRadius (float radius) |
| Set falloff radius. | |
| float | getExponent () |
| Falloff exponent. | |
| void | setExponent (float exponent) |
| Set falloff exponent. | |
| ForceFieldType | getFieldType () |
| Field type. | |
| void | setFieldType (ForceFieldType type) |
| Set field type. | |
| ForceFieldApplication | getApplicationType () |
| Force application type. | |
| void | setApplicationType (ForceFieldApplication type) |
| Set application type. | |
| Vector | getDirection () |
| Force direction. | |
| void | setDirection (Vector direction) |
| Set force direction. | |
| float | getForce () |
| Force in newton. | |
| void | setForce (float force) |
| Set force in newton. | |
| float | getFluctuationDirection () |
| Fluctuation of direction in radians. | |
| void | setFluctuationDirection (float fluctuation) |
| Set fluctuation of direction in radians. | |
| float | getFluctuationForce () |
| Fluctuation of force in newton. | |
| void | setFluctuationForce (float fluctuation) |
| Set fluctuation of force in newton. | |
| ShapeList | getShape () |
| Force field shape. | |
| void | setShape (ShapeList shape) |
| Set force field shape. | |
| CollisionFilter | getCollisionFilter () |
| Collision filter. | |
| void | setCollisionFilter (CollisionFilter filter) |
| Set collision filter. | |
| bool | getEnabled () |
| Force field is enabled. | |
| void | setEnabled (bool enabled) |
| Set if force field is enabled. | |
Force field.
This is a native class.
| ForceFieldApplication Dragengine.Scenery.ForceField.getApplicationType | ( | ) |
Force application type.
| CollisionFilter Dragengine.Scenery.ForceField.getCollisionFilter | ( | ) |
Collision filter.
| Vector Dragengine.Scenery.ForceField.getDirection | ( | ) |
Force direction.
| bool Dragengine.Scenery.ForceField.getEnabled | ( | ) |
Force field is enabled.
| float Dragengine.Scenery.ForceField.getExponent | ( | ) |
Falloff exponent.
| ForceFieldType Dragengine.Scenery.ForceField.getFieldType | ( | ) |
Field type.
| float Dragengine.Scenery.ForceField.getFluctuationDirection | ( | ) |
Fluctuation of direction in radians.
| float Dragengine.Scenery.ForceField.getFluctuationForce | ( | ) |
Fluctuation of force in newton.
| float Dragengine.Scenery.ForceField.getForce | ( | ) |
Force in newton.
| ShapeList Dragengine.Scenery.ForceField.getInfluenceArea | ( | ) |
Influence area.
| Quaternion Dragengine.Scenery.ForceField.getOrientation | ( | ) |
Orientation.
| World Dragengine.Scenery.ForceField.getParentWorld | ( | ) |
Parent world or null if not added to a world.
| DVector Dragengine.Scenery.ForceField.getPosition | ( | ) |
Position.
| float Dragengine.Scenery.ForceField.getRadius | ( | ) |
Falloff radius.
| ShapeList Dragengine.Scenery.ForceField.getShape | ( | ) |
Force field shape.
| ForceField Dragengine.Scenery.ForceField.new | ( | ) |
Create force field.
| void Dragengine.Scenery.ForceField.setApplicationType | ( | ForceFieldApplication | type | ) |
Set application type.
| void Dragengine.Scenery.ForceField.setCollisionFilter | ( | CollisionFilter | filter | ) |
Set collision filter.
| void Dragengine.Scenery.ForceField.setDirection | ( | Vector | direction | ) |
Set force direction.
| void Dragengine.Scenery.ForceField.setEnabled | ( | bool | enabled | ) |
Set if force field is enabled.
| void Dragengine.Scenery.ForceField.setExponent | ( | float | exponent | ) |
Set falloff exponent.
| void Dragengine.Scenery.ForceField.setFieldType | ( | ForceFieldType | type | ) |
Set field type.
| void Dragengine.Scenery.ForceField.setFluctuationDirection | ( | float | fluctuation | ) |
Set fluctuation of direction in radians.
| void Dragengine.Scenery.ForceField.setFluctuationForce | ( | float | fluctuation | ) |
Set fluctuation of force in newton.
| void Dragengine.Scenery.ForceField.setForce | ( | float | force | ) |
Set force in newton.
| void Dragengine.Scenery.ForceField.setInfluenceArea | ( | ShapeList | area | ) |
Set influence area.
| void Dragengine.Scenery.ForceField.setOrientation | ( | Quaternion | orientation | ) |
Set orientation.
| void Dragengine.Scenery.ForceField.setPosition | ( | DVector | position | ) |
Set position.
| void Dragengine.Scenery.ForceField.setRadius | ( | float | radius | ) |
Set falloff radius.
| void Dragengine.Scenery.ForceField.setShape | ( | ShapeList | shape | ) |
Set force field shape.