Tanoda
Leap.Unity.Tests.HandFactoryTwoHands Class Reference
Inheritance diagram for Leap.Unity.Tests.HandFactoryTwoHands:
Leap.Unity.Tests.FrameValidator

Public Member Functions

void CorrectHandCount ()
 
- Public Member Functions inherited from Leap.Unity.Tests.FrameValidator
virtual void Setup ()
 
virtual void Teardown ()
 
void HandsAreUnique ()
 
void HandsHaveFiveFingers ()
 
void FingersHaveFourBones ([ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType fingerType, [ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType boneType)
 
void BoneLength ([ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType fingerType, [ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType boneType)
 
void JointsMatch ([ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType fingerType, [ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType boneType)
 
void CenterIsBetweenJoints ([ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType fingerType, [ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType boneType)
 
void DirectionMatchesJoints ([ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType fingerType, [ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType boneType)
 
void RotationIsValid ()
 

Protected Member Functions

override Frame createFrame ()
 
- Protected Member Functions inherited from Leap.Unity.Tests.FrameValidator
abstract Frame createFrame ()
 
Bone getBone (Hand hand, Finger.FingerType fingerType, Bone.BoneType boneType)
 
void assertVectorsEqual (Vector a, Vector b, string vectorName="Vector")
 

Additional Inherited Members

- Protected Attributes inherited from Leap.Unity.Tests.FrameValidator
Frame _frame
 
- Static Protected Attributes inherited from Leap.Unity.Tests.FrameValidator
const float TOLERANCE = 0.0001f
 
static Finger.FingerType[] _fingers
 
static Bone.BoneType[] _bones
 

Detailed Description

Definition at line 15 of file HandFactoryTest.cs.

Member Function Documentation

◆ CorrectHandCount()

void Leap.Unity.Tests.HandFactoryTwoHands.CorrectHandCount ( )

Definition at line 21 of file HandFactoryTest.cs.

◆ createFrame()

override Frame Leap.Unity.Tests.HandFactoryTwoHands.createFrame ( )
protectedvirtual

Implements Leap.Unity.Tests.FrameValidator.

Definition at line 16 of file HandFactoryTest.cs.


The documentation for this class was generated from the following file: