Beispiel #1
0
        public override Skeleton GenerateTemplate(Transform rootTransform)
        {
            _rootTransform = rootTransform;
            GenerateName();
            CreateHandDictionary();
            GenerateBones();

            Skeleton handSkeleton = new FluentSkeletonBuilder().CreateSkeleton(_name).WithRootBone(_palm).WithTrackedBones(_bones).InSkeletonGroup("Hands");

            return(handSkeleton);
        }
Beispiel #2
0
        public override Skeleton GenerateTemplate(Transform rootTransform)
        {
            Skeleton handSkeleton = new FluentSkeletonBuilder().CreateSkeleton(rootTransform.name).WithRootBone(rootTransform);

            return(handSkeleton);
        }