Class ScaleForceModule
java.lang.Object
foundry.veil.api.quasar.emitters.module.force.ScaleForceModule
- All Implemented Interfaces:
ForceParticleModule,ParticleModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyForce(QuasarParticle particle) org.joml.Vector3dgetScale()voidsetStrength(float strength) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
applyForcein interfaceForceParticleModule
-
setStrength
public void setStrength(float strength) - Specified by:
setStrengthin interfaceForceParticleModule
-
getScale
public org.joml.Vector3d getScale()
-