public abstract class ParticleForceAffector extends Object
| Modifier | Constructor | Description |
|---|---|---|
protected |
ParticleForceAffector() |
Simple constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
be.yildizgames.common.geometry.Point3D |
getForce() |
Provide the current force.
|
void |
setForce(float forceX,
float forceY,
float forceZ) |
Set the force direction and strength.
|
void |
setForce(be.yildizgames.common.geometry.Point3D force) |
Set the force direction and strength.
|
protected abstract void |
setForceImpl(float forceX,
float forceY,
float forceZ) |
Set the force in implementation.
|
public final void setForce(float forceX,
float forceY,
float forceZ)
forceX - Force to apply on X direction.forceY - Force to apply on Y direction.forceZ - Force to apply on Z direction.public final void setForce(be.yildizgames.common.geometry.Point3D force)
force - Force to apply [assert not null].public be.yildizgames.common.geometry.Point3D getForce()
protected abstract void setForceImpl(float forceX,
float forceY,
float forceZ)
forceX - Force to apply on X direction.forceY - Force to apply on Y direction.forceZ - Force to apply on Z direction.Copyright © 2014–2018. All rights reserved.