public class VertexEffectSink extends VertexEffect
NUM_FLOAT_UNIFORMS, NUM_INT_UNIFORMS
Constructor and Description |
---|
VertexEffectSink(Data1D sink,
Data3D center)
Pull all points around the center of the Effect towards the center point(if degree>=1) or push them
away from it (degree<=1)
|
VertexEffectSink(Data1D sink,
Data3D center,
Data4D region)
Pull all points around the center of the Effect towards the center point (if degree>=1) or push them
away from it (degree<=1)
|
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 VertexEffectSink(Data1D sink, Data3D center, Data4D region)
sink
- The current degree of the Effect.center
- 3-dimensional Data that, at any given time, returns the Center of the Effect.region
- Region that masks the Effect.public VertexEffectSink(Data1D sink, Data3D center)
sink
- The current degree of the Effect.center
- 3-dimensional Data that, at any given time, returns the Center of the Effect.