public class VertexEffectScale extends VertexEffect
NUM_FLOAT_UNIFORMS, NUM_INT_UNIFORMS
Constructor and Description |
---|
VertexEffectScale(Data3D scale)
Scale the Mesh by 3D scale factors.
|
VertexEffectScale(float scale)
Scale the Mesh by 3D scale factors.
|
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 VertexEffectScale(Data3D scale)
scale
- current x- , y- and z- scale factors.public VertexEffectScale(float scale)
scale
- Common x,y, and z scale factor.