public class ModelRenderer
extends java.lang.Object
Constructor and Description |
---|
ModelRenderer(PApplet parent) |
Modifier and Type | Method and Description |
---|---|
void |
displayAutoCollisionVolumes(boolean val) |
void |
displayForceVectors(boolean val) |
void |
displayInteractions(boolean val) |
void |
displayIntersectionVolumes(boolean val) |
void |
displayMasses(boolean val) |
void |
displayModuleNames(boolean val) |
void |
displayObjectVolumes(boolean val) |
void |
renderScene(PhysicsContext c) |
boolean |
setColor(interType m,
int r,
int g,
int b,
int alpha) |
boolean |
setColor(massType m,
int r,
int g,
int b) |
void |
setForceVectorScale(float val) |
boolean |
setSize(interType m,
int size) |
boolean |
setStrainColor(interType m,
int r,
int g,
int b,
int alpha) |
boolean |
setStrainGradient(interType m,
boolean cond,
float val) |
void |
setTextRotation(float x,
float y,
float z) |
void |
setTextSize(float i) |
void |
setZoomVector(float x,
float y,
float z) |
void |
toggleAutoCollisonVolumesDisplay() |
void |
toggleForceDisplay() |
void |
toggleIntersectionVolumesDisplay() |
void |
toggleModuleNameDisplay() |
void |
toggleObjectVolumesDisplay() |
public boolean setColor(massType m, int r, int g, int b)
public void setZoomVector(float x, float y, float z)
public boolean setSize(interType m, int size)
public boolean setColor(interType m, int r, int g, int b, int alpha)
public boolean setStrainGradient(interType m, boolean cond, float val)
public boolean setStrainColor(interType m, int r, int g, int b, int alpha)
public void displayMasses(boolean val)
public void displayInteractions(boolean val)
public void displayObjectVolumes(boolean val)
public void displayAutoCollisionVolumes(boolean val)
public void displayForceVectors(boolean val)
public void setForceVectorScale(float val)
public void displayIntersectionVolumes(boolean val)
public void setTextSize(float i)
public void setTextRotation(float x, float y, float z)
public void displayModuleNames(boolean val)
public void toggleModuleNameDisplay()
public void toggleForceDisplay()
public void toggleAutoCollisonVolumesDisplay()
public void toggleIntersectionVolumesDisplay()
public void toggleObjectVolumesDisplay()
public void renderScene(PhysicsContext c)
Processing Library miPhysics by James Leonard. (c) 2019