public class VertexEffectPinch extends VertexEffect
NUM_FLOAT_UNIFORMS, NUM_INT_UNIFORMS
Constructor and Description |
---|
VertexEffectPinch(Data3D pinch,
Data3D center)
Pull all points around the center of the Effect towards a line passing through the center
(that's if degree>=1) or push them away from the line (degree<=1)
|
VertexEffectPinch(Data3D pinch,
Data3D center,
Data4D region)
Pull all points around the center of the Effect towards a line passing through the center
(that's if degree>=1) or push them away from the line (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 VertexEffectPinch(Data3D pinch, Data3D center, Data4D region)
pinch
- The current degree of the Effect + (latitude,longitude) pair of angles defining the
* point towards which (and its antipode) the pinching power is strongest.center
- 3-dimensional Data that, at any given time, returns the Center of the Effect.region
- Region that masks the Effect.public VertexEffectPinch(Data3D pinch, Data3D center)
pinch
- The current degree of the Effect + (latitude,longitude) pair of angles defining the
point towards which (and its antipode) the pinching power is strongest.center
- 3-dimensional Data that, at any given time, returns the Center of the Effect.