public class VertexEffectSwirl extends VertexEffect
NUM_FLOAT_UNIFORMS, NUM_INT_UNIFORMS| Constructor and Description |
|---|
VertexEffectSwirl(Data1D swirl,
Data3D center)
Rotate the whole Mesh around the Center of the Effect by a certain angle.
|
VertexEffectSwirl(Data1D swirl,
Data3D center,
Data4D region)
Rotate part of the Mesh around the Center of the Effect by a certain angle.
|
| 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, setMeshAssociationaddQueue, enableEffects, getCenterDimension, getEffectDimension, getID, getName, getRegionDimension, getString, getType, isUnity, notifyWhenFinished, remQueuepublic VertexEffectSwirl(Data1D swirl, Data3D center, Data4D region)
swirl - The angle of Swirl (in degrees). Positive values swirl clockwise.center - 3-dimensional Data that, at any given time, returns the Center of the Effect.region - Region that masks the Effect.public VertexEffectSwirl(Data1D swirl, Data3D center)
swirl - The angle of Swirl (in degrees). Positive values swirl clockwise.center - 3-dimensional Data that, at any given time, returns the Center of the Effect.