Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.ForceField Class Reference

Force field. More...

Inheritance diagram for Dragengine.Scenery.ForceField:

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.

Detailed Description

Force field.

This is a native class.

Member Function Documentation

◆ getApplicationType()

ForceFieldApplication Dragengine.Scenery.ForceField.getApplicationType ( )

Force application type.

References getExponent().

Referenced by setFluctuationDirection().

◆ getCollisionFilter()

CollisionFilter Dragengine.Scenery.ForceField.getCollisionFilter ( )

Collision filter.

References getForce().

Referenced by setEnabled().

◆ getDirection()

Vector Dragengine.Scenery.ForceField.getDirection ( )

Force direction.

References setExponent().

Referenced by setFluctuationForce().

◆ getEnabled()

bool Dragengine.Scenery.ForceField.getEnabled ( )

Force field is enabled.

References setForce().

Referenced by setEnabled().

◆ getExponent()

float Dragengine.Scenery.ForceField.getExponent ( )

Falloff exponent.

References setInfluenceArea().

Referenced by getApplicationType().

◆ getFieldType()

ForceFieldType Dragengine.Scenery.ForceField.getFieldType ( )

Field type.

Referenced by getForce().

◆ getFluctuationDirection()

float Dragengine.Scenery.ForceField.getFluctuationDirection ( )

Fluctuation of direction in radians.

Referenced by setEnabled().

◆ getFluctuationForce()

float Dragengine.Scenery.ForceField.getFluctuationForce ( )

Fluctuation of force in newton.

References setApplicationType().

Referenced by setEnabled().

◆ getForce()

float Dragengine.Scenery.ForceField.getForce ( )

Force in newton.

References getFieldType().

Referenced by getCollisionFilter().

◆ getInfluenceArea()

ShapeList Dragengine.Scenery.ForceField.getInfluenceArea ( )

Influence area.

References getParentWorld().

Referenced by setRadius().

◆ getOrientation()

Quaternion Dragengine.Scenery.ForceField.getOrientation ( )

Orientation.

References setPosition().

Referenced by setOrientation().

◆ getParentWorld()

World Dragengine.Scenery.ForceField.getParentWorld ( )

Parent world or null if not added to a world.

Version
1.29

References setOrientation().

Referenced by getInfluenceArea().

◆ getPosition()

DVector Dragengine.Scenery.ForceField.getPosition ( )

Position.

References getPosition().

Referenced by getPosition().

◆ getRadius()

float Dragengine.Scenery.ForceField.getRadius ( )

Falloff radius.

Referenced by setExponent().

◆ getShape()

ShapeList Dragengine.Scenery.ForceField.getShape ( )

Force field shape.

Referenced by setEnabled().

◆ new()

ForceField Dragengine.Scenery.ForceField.new ( )

Create force field.

References new().

Referenced by new().

◆ setApplicationType()

void Dragengine.Scenery.ForceField.setApplicationType ( ForceFieldApplication type)

Set application type.

Referenced by getFluctuationForce().

◆ setCollisionFilter()

void Dragengine.Scenery.ForceField.setCollisionFilter ( CollisionFilter filter)

Set collision filter.

Referenced by setEnabled().

◆ setDirection()

void Dragengine.Scenery.ForceField.setDirection ( Vector direction)

Set force direction.

Referenced by setShape().

◆ setEnabled()

void Dragengine.Scenery.ForceField.setEnabled ( bool enabled)

◆ setExponent()

void Dragengine.Scenery.ForceField.setExponent ( float exponent)

Set falloff exponent.

References getRadius().

Referenced by getDirection().

◆ setFieldType()

void Dragengine.Scenery.ForceField.setFieldType ( ForceFieldType type)

Set field type.

References setRadius().

Referenced by setForce().

◆ setFluctuationDirection()

void Dragengine.Scenery.ForceField.setFluctuationDirection ( float fluctuation)

Set fluctuation of direction in radians.

References getApplicationType().

Referenced by setEnabled().

◆ setFluctuationForce()

void Dragengine.Scenery.ForceField.setFluctuationForce ( float fluctuation)

Set fluctuation of force in newton.

References getDirection().

Referenced by setEnabled().

◆ setForce()

void Dragengine.Scenery.ForceField.setForce ( float force)

Set force in newton.

References setFieldType().

Referenced by getEnabled().

◆ setInfluenceArea()

void Dragengine.Scenery.ForceField.setInfluenceArea ( ShapeList area)

Set influence area.

Referenced by getExponent().

◆ setOrientation()

void Dragengine.Scenery.ForceField.setOrientation ( Quaternion orientation)

Set orientation.

References getOrientation().

Referenced by getParentWorld().

◆ setPosition()

void Dragengine.Scenery.ForceField.setPosition ( DVector position)

Set position.

Referenced by getOrientation().

◆ setRadius()

void Dragengine.Scenery.ForceField.setRadius ( float radius)

Set falloff radius.

References getInfluenceArea().

Referenced by setFieldType().

◆ setShape()

void Dragengine.Scenery.ForceField.setShape ( ShapeList shape)

Set force field shape.

References setDirection().

Referenced by setEnabled().


The documentation for this class was generated from the following file: