blendindices2d - eisclimber/ExPresS-XR GitHub Wiki

BlendIndices2D

Class in ExPresSXR.Experimentation.EyeTracking

Inherits from System.Object

Summary

Allows combines four blend shape indices to use with vectors with normalized axis between -1.0f and 1.0f.

public class BlendIndices2D

Fields

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.

Methods

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.
⚠️ **GitHub.com Fallback** ⚠️