blendindices2d - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Experimentation.EyeTracking
Inherits from System.Object
Allows combines four blend shape indices to use with vectors with normalized axis between -1.0f and 1.0f.
public class BlendIndices2D| Name | Description |
|---|---|
| down | Blend shape index for the down direction. |
| left | Blend shape index for the left direction. |
| right | Blend shape index for the right direction. |
| up | Blend shape index for the up direction. |
| Name | Description |
|---|---|
| SetBlendShapeWeightHorizontal(float,SkinnedMeshRenderer) | Sets the blend shapes for the horizontal axis to the value. |
| SetBlendShapeWeightVertical(float,SkinnedMeshRenderer) | Sets the blend shapes for the vertical axis to the value. |
| SetWeightsWithVector(Vector2,SkinnedMeshRenderer) | Sets the blend shapes for both axis according to the vectors x and y coordinates. |
| SetWeightsWithVector(Vector3,SkinnedMeshRenderer) | Sets the blend shapes for both axis according to the vectors x and y coordinates. |