Drag[en]gine Script Module DragonScript
1.23
|
Force field. More...
Public Member Functions | |
Constructors | |
ForceField | new () |
Create force field. More... | |
Management | |
DVector | getPosition () |
Position. More... | |
void | setPosition (DVector position) |
Set position. More... | |
Quaternion | getOrientation () |
Orientation. More... | |
void | setOrientation (Quaternion orientation) |
Set orientation. More... | |
ShapeList | getInfluenceArea () |
Influence area. More... | |
void | setInfluenceArea (ShapeList area) |
Set influence area. More... | |
float | getRadius () |
Falloff radius. More... | |
void | setRadius (float radius) |
Set falloff radius. More... | |
float | getExponent () |
Falloff exponent. More... | |
void | setExponent (float exponent) |
Set falloff exponent. More... | |
ForceFieldType | getFieldType () |
Field type. More... | |
void | setFieldType (ForceFieldType type) |
Set field type. More... | |
ForceFieldApplication | getApplicationType () |
Force application type. More... | |
void | setApplicationType (ForceFieldApplication type) |
Set application type. More... | |
Vector | getDirection () |
Force direction. More... | |
void | setDirection (Vector direction) |
Set force direction. More... | |
float | getForce () |
Force in newton. More... | |
void | setForce (float force) |
Set force in newton. More... | |
float | getFluctuationDirection () |
Fluctuation of direction in radians. More... | |
void | setFluctuationDirection (float fluctuation) |
Set fluctuation of direction in radians. More... | |
float | getFluctuationForce () |
Fluctuation of force in newton. More... | |
void | setFluctuationForce (float fluctuation) |
Set fluctuation of force in newton. More... | |
ShapeList | getShape () |
Force field shape. More... | |
void | setShape (ShapeList shape) |
Set force field shape. More... | |
CollisionFilter | getCollisionFilter () |
Collision filter. More... | |
void | setCollisionFilter (CollisionFilter filter) |
Set collision filter. More... | |
bool | getEnabled () |
Force field is enabled. More... | |
void | setEnabled (bool enabled) |
Set if force field is enabled. More... | |
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.
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.