Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.ForceField Class Reference

Force field. More...

Inheritance diagram for Dragengine.Scenery.ForceField:

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...
 

Detailed Description

Force field.

This is a native class.

Member Function Documentation

◆ getApplicationType()

ForceFieldApplication Dragengine.Scenery.ForceField.getApplicationType ( )

Force application type.

◆ getCollisionFilter()

CollisionFilter Dragengine.Scenery.ForceField.getCollisionFilter ( )

Collision filter.

◆ getDirection()

Vector Dragengine.Scenery.ForceField.getDirection ( )

Force direction.

◆ getEnabled()

bool Dragengine.Scenery.ForceField.getEnabled ( )

Force field is enabled.

◆ getExponent()

float Dragengine.Scenery.ForceField.getExponent ( )

Falloff exponent.

◆ getFieldType()

ForceFieldType Dragengine.Scenery.ForceField.getFieldType ( )

Field type.

◆ getFluctuationDirection()

float Dragengine.Scenery.ForceField.getFluctuationDirection ( )

Fluctuation of direction in radians.

◆ getFluctuationForce()

float Dragengine.Scenery.ForceField.getFluctuationForce ( )

Fluctuation of force in newton.

◆ getForce()

float Dragengine.Scenery.ForceField.getForce ( )

Force in newton.

◆ getInfluenceArea()

ShapeList Dragengine.Scenery.ForceField.getInfluenceArea ( )

Influence area.

◆ getOrientation()

Quaternion Dragengine.Scenery.ForceField.getOrientation ( )

Orientation.

◆ getPosition()

DVector Dragengine.Scenery.ForceField.getPosition ( )

Position.

◆ getRadius()

float Dragengine.Scenery.ForceField.getRadius ( )

Falloff radius.

◆ getShape()

ShapeList Dragengine.Scenery.ForceField.getShape ( )

Force field shape.

◆ new()

ForceField Dragengine.Scenery.ForceField.new ( )

Create force field.

◆ setApplicationType()

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

Set application type.

◆ setCollisionFilter()

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

Set collision filter.

◆ setDirection()

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

Set force direction.

◆ setEnabled()

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

Set if force field is enabled.

◆ setExponent()

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

Set falloff exponent.

◆ setFieldType()

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

Set field type.

◆ setFluctuationDirection()

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

Set fluctuation of direction in radians.

◆ setFluctuationForce()

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

Set fluctuation of force in newton.

◆ setForce()

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

Set force in newton.

◆ setInfluenceArea()

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

Set influence area.

◆ setOrientation()

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

Set orientation.

◆ setPosition()

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

Set position.

◆ setRadius()

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

Set falloff radius.

◆ setShape()

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

Set force field shape.


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