Class ScaleForceModule
java.lang.Object
foundry.veil.api.quasar.emitters.module.force.ScaleForceModule
- All Implemented Interfaces:
ForceParticleModule
,ParticleModule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyForce
(QuasarParticle particle) org.joml.Vector3d
getScale()
void
setStrength
(float strength) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface foundry.veil.api.quasar.emitters.module.ParticleModule
onRemove
-
Constructor Details
-
ScaleForceModule
public ScaleForceModule(org.joml.Vector3dc scale) -
ScaleForceModule
public ScaleForceModule(double scale)
-
-
Method Details
-
applyForce
- Specified by:
applyForce
in interfaceForceParticleModule
-
setStrength
public void setStrength(float strength) - Specified by:
setStrength
in interfaceForceParticleModule
-
getScale
public org.joml.Vector3d getScale()
-