Warps

Warps are modifiers that happen in a different space to the local space of the object, usually this means the world space but could be another objects local space etc.

This is the base class for Space Warps, so most of these params will work across all space warps. Exceptions being ripple where it ignores the size and uses a radius value.

Warp Param Description

Width

Width of the warp

Height

Height of the warp

Length

Length(depth) of the warp

Decay

Decay value for the effect, this will effect all objects bound to the warp

Enabled

Is warp on

DisplaGizmo

Enable display of the gizmo in the editor

World Space Warps

The Warps currently included in the system are:

Bubble
Cylindridy
Globe
Hump
Sinus Curve
Spherify
Waving
FFD2x2x2
FFD3x3x3
FFD4x4x4
ZStretch
Squeeze
Melt

Warp Class

public class MegaWarp : MonoBehaviour
{
    public float    Width;
    public float    Height;
    public float    Length;
    public float    Decay;
    public bool     Enabled;
    public bool     DisplayGizmo;
}