SA.FullBodyIK.ToFingerType C# (CSharp) Method

ToFingerType() public static method

public static ToFingerType ( EffectorLocation effectorLocation ) : FingerType
effectorLocation EffectorLocation
return FingerType
		public static FingerType ToFingerType( EffectorLocation effectorLocation )
		{
			if( IsHandFingerEffectors( effectorLocation ) ) {
				int value = (int)effectorLocation - (int)EffectorLocation.LeftHandThumb;
				return (FingerType)(value % 5);
			}

			return FingerType.Unknown;
		}
		

Same methods

FullBodyIK::ToFingerType ( BoneLocation boneLocation ) : FingerType
FullBodyIK