Exemple #1
0
        public LeapV4ReflectionData(bool usingTestLeap = false)
            : base(usingTestLeap)
        {
            chirality_ = ReflectionUtilities.GetType("Chirality", usingTestLeap);
            if (chirality_ == null)
            {
                throw new Exception("No Chirality type found");
            }

            var handednessProperty = HandModel.GetProperty("Handedness");

            if (handednessProperty == null)
            {
                throw new Exception("HandModel : Missing Handedness property");
            }

            handedness_ = handednessProperty.GetGetMethod();
            if (handedness_ == null)
            {
                throw new Exception("HandModel : Missing Handedness property get method");
            }
        }