SkeletonPoint point = new SkeletonPoint(); // Create a new SkeletonPoint object point.X = 0.5f; // Set the X coordinate to 0.5 point.Y = 0.3f; // Set the Y coordinate to 0.3 point.Z = 2.0f; // Set the Z coordinate to 2.0
SkeletonPoint[] points = new SkeletonPoint[20]; // Create an array of 20 SkeletonPoint objects for (int i = 0; i < points.Length; i++) { points[i] = new SkeletonPoint(); // Create a new SkeletonPoint object for each index points[i].X = i * 0.1f; // Set the X coordinate based on the index points[i].Y = i * 0.2f; // Set the Y coordinate based on the index points[i].Z = i * 0.3f; // Set the Z coordinate based on the index }The package library for Microsoft.Kinect SkeletonPoint is part of the Kinect for Windows SDK, which is available for download on the Microsoft website.