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

Public Member Functions

void IsTranslated ()
 
- 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")
 

Protected Attributes

Frame _originalFrame
 
- Protected Attributes inherited from Leap.Unity.Tests.FrameValidator
Frame _frame
 

Static Protected Attributes

static Vector translation = Vector.Forward
 
- 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 106 of file TransformCopyTest.cs.

Member Function Documentation

◆ createFrame()

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

Implements Leap.Unity.Tests.FrameValidator.

Definition at line 110 of file TransformCopyTest.cs.

◆ IsTranslated()

void Leap.Unity.Tests.TransformCopyTranslation.IsTranslated ( )

Definition at line 117 of file TransformCopyTest.cs.

Member Data Documentation

◆ _originalFrame

Frame Leap.Unity.Tests.TransformCopyTranslation._originalFrame
protected

Definition at line 108 of file TransformCopyTest.cs.

◆ translation

Vector Leap.Unity.Tests.TransformCopyTranslation.translation = Vector.Forward
staticprotected

Definition at line 107 of file TransformCopyTest.cs.


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