예제 #1
0
        public void CreateDuplicate()
        {
            HandGhost ghost = Instantiate(this, this.transform.parent);

            ghost.SetPoseVolume(this._snapPoseVolume, this.transform);
            ghost.transform.SetPositionAndRotation(this.transform.position, this.transform.rotation);
        }
예제 #2
0
        private HandGhost AddPose(VolumetricPose poseVolume)
        {
            HandGhost ghost = Instantiate(handProvider.GetHand(poseVolume.pose.handeness), this.transform);

            ghost.SetPoseVolume(poseVolume, this.transform);
            this.ghosts.Add(ghost);

            return(ghost);
        }