Class VTP
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class VTP : MonoBehaviour
- Inheritance
-
VTP
Constructors
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
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
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
public static Color getFaceVerticesColorAtHit(Transform transform, RaycastHit hit)
Parameters
transform
Transform
hit
RaycastHit
Returns
- Color
public static Color getSingleVertexColorAtHit(Transform transform, RaycastHit hit)
Parameters
transform
Transform
hit
RaycastHit
Returns
- Color
public static void paintFaceVerticesOnHit(Transform transform, RaycastHit hit, Color color, float strength)
Parameters
transform
Transform
hit
RaycastHit
color
Color
strength
float
public static void paintSingleVertexOnHit(Transform transform, RaycastHit hit, Color color, float strength)
Parameters
transform
Transform
hit
RaycastHit
color
Color
strength
float