PolyFingerΒΆ
The PolyFinger script is used with the PolyHand prefabs. You can change the shapes and colors of the fingers by setting the PolyFinger properties and material in the Unity Inspector.
class PolyFinger
Draws the bones of the finger as a polygonal tube.
Public FunctionsPublic Membersoverride void InitFinger()Creates the finger mesh.
override void UpdateFinger()Updates the mesh.
int sides
The number of sides for finger tube.
bool smoothNormals
Whether to smooth the mesh normals, providing a smoother appearance.
float[] widths
An array containing the width of the finger at each joint.