Exemple #1
0
 public PoseData getPose(PoseData.PoseType type)
 {
     if (!_poses.ContainsKey(type))
     {
         _poses[type] = new PoseData(UserData_getPose(this.Handle, type));
     }
     return(_poses[type]);
 }
Exemple #2
0
        public PoseData GetPose(PoseData.PoseType type)
        {
            if (!poses.ContainsKey(type))
            {
                poses[type] = new PoseData(UserData_getPose(Handle, type));
            }

            return(poses[type]);
        }
 public void StopPoseDetection(short UserId, PoseData.PoseType type)
 {
     UserTracker_stopPoseDetection(this.Handle, UserId, type);
 }
 static extern void UserTracker_stopPoseDetection(IntPtr objectHandler, short UserId, PoseData.PoseType type);
 public NiTE.Status StartPoseDetection(short UserId, PoseData.PoseType type)
 {
     return UserTracker_startPoseDetection(this.Handle, UserId, type);
 }
 static extern NiTE.Status UserTracker_startPoseDetection(IntPtr objectHandler, short UserId, PoseData.PoseType type);
 private static extern IntPtr UserData_getPose(IntPtr objectHandler, PoseData.PoseType type);
        public PoseData GetPose(PoseData.PoseType type)
        {
            if (!this.poses.ContainsKey(type))
            {
                this.poses[type] = new PoseData(UserData_getPose(this.Handle, type));
            }

            return this.poses[type];
        }
Exemple #9
0
 public PoseData getPose(PoseData.PoseType type)
 {
     if (!_poses.ContainsKey(type))
         _poses[type] = new PoseData(UserData_getPose(this.Handle, type));
     return _poses[type];
 }