public class VertexEffectRotate extends VertexEffect
NUM_FLOAT_UNIFORMS, NUM_INT_UNIFORMS
Constructor and Description |
---|
VertexEffectRotate(Data1D angle,
Data3D axis,
Data3D center)
Rotate the Mesh by 'angle' degrees around the center, along an axis.
|
Modifier and Type | Method and Description |
---|---|
static void |
enable()
Have to call this before the shaders get compiled (i.e before DistortedLibrary.onCreate()) for the Effect to work.
|
getNumEnabled, setMeshAssociation
addQueue, enableEffects, getCenterDimension, getEffectDimension, getID, getName, getRegionDimension, getString, getType, isUnity, notifyWhenFinished, remQueue
public VertexEffectRotate(Data1D angle, Data3D axis, Data3D center)
angle
- Angle that we want to rotate the Object to. Unit: degreesaxis
- Axis of rotationcenter
- Coordinates of the Point we are rotating around.