Table of Contents

Class VTP

Namespace
Global
Assembly
Assembly-CSharp.dll
public class VTP : MonoBehaviour
Inheritance
VTP

Constructors

VTP()

public VTP()

Methods

VertexColorLerp(Color, Color, float)

public static Color VertexColorLerp(Color colorA, Color colorB, float value)

Parameters

colorA Color
colorB Color
value float

Returns

Color

deformFaceVerticesOnHit(Transform, RaycastHit, bool, float, bool, bool, bool)

public static void deformFaceVerticesOnHit(Transform transform, RaycastHit hit, bool up, float strength, bool recalculateNormals, bool recalculateCollider, bool recalculateFlow)

Parameters

transform Transform
hit RaycastHit
up bool
strength float
recalculateNormals bool
recalculateCollider bool
recalculateFlow bool

deformSingleVertexOnHit(Transform, RaycastHit, bool, float, bool, bool, bool)

public static void deformSingleVertexOnHit(Transform transform, RaycastHit hit, bool up, float strength, bool recalculateNormals, bool recalculateCollider, bool recalculateFlow)

Parameters

transform Transform
hit RaycastHit
up bool
strength float
recalculateNormals bool
recalculateCollider bool
recalculateFlow bool

getFaceVerticesColorAtHit(Transform, RaycastHit)

public static Color getFaceVerticesColorAtHit(Transform transform, RaycastHit hit)

Parameters

transform Transform
hit RaycastHit

Returns

Color

getSingleVertexColorAtHit(Transform, RaycastHit)

public static Color getSingleVertexColorAtHit(Transform transform, RaycastHit hit)

Parameters

transform Transform
hit RaycastHit

Returns

Color

paintFaceVerticesOnHit(Transform, RaycastHit, Color, float)

public static void paintFaceVerticesOnHit(Transform transform, RaycastHit hit, Color color, float strength)

Parameters

transform Transform
hit RaycastHit
color Color
strength float

paintSingleVertexOnHit(Transform, RaycastHit, Color, float)

public static void paintSingleVertexOnHit(Transform transform, RaycastHit hit, Color color, float strength)

Parameters

transform Transform
hit RaycastHit
color Color
strength float