Distorter.DistortScale(Vector3, Single) Method

Definition

Distorts a world-space scale Automatically applies DistortStrength and ensures that strength never exceeds 1

public UnityEngine.Vector3 DistortScale (UnityEngine.Vector3 scale, float strength = 1);
member this.DistortScale : UnityEngine.Vector3 * single -> UnityEngine.Vector3
Public Function DistortScale (scale As Vector3, Optional strength As Single = 1) As Vector3

Parameters

scale
UnityEngine.Vector3
strength
Single

Returns

UnityEngine.Vector3

Applies to