Skip to main content

Vertex Offset Component

Overview​

This component is a vertex effect that applies a translation offset directly to the vertices, so the Transform is not modified.

This is useful for adding secondary motion or transitions to elements where you don't want to the child positions to be affected.

WebGL Demo​

Properties​

Component Screenshot

Property                            Type    Range    DefaultDescription
OffsetVector30,0,0The offset to apply. When Strength is 0.0 this offset is not applied, when Strength is 1.0 the offset is fully applied.
Apply
    EasingEnumLinearType of easing preset to apply to the offset.
    StrengthFloat[0..1]1.0Strength of the effect.

Usage​

Add this component to any GameObject that contains a UI Graphic component (eg Text, Image, RawImage, etc).

Usage TextMeshPro​

Add the TextMeshPro Mesh Modifier component before this one.