CameraIntrinsics.ProjectManyOntoFrame(Vector3[], Point[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Projects an array of camera space points into screen space pixel coordinates.
public:
virtual void ProjectManyOntoFrame(Platform::Array <float3> ^ coordinates, Platform::Array <Point> ^ results) = ProjectManyOntoFrame;
void ProjectManyOntoFrame(winrt::array_view <float3> const& coordinates, winrt::array_view <Point> & results);
public void ProjectManyOntoFrame(Vector3[] coordinates, Point[] results);
function projectManyOntoFrame(coordinates, results)
Public Sub ProjectManyOntoFrame (coordinates As Vector3(), results As Point())
Parameters
The array of camera space points to project into screen space.
- results
- Point[]
The array of screen space pixel coordinates.
Remarks
The 3D coordinates must be expressed in meters, using a left-handed coordinate system, with +X pointing right, +Y pointing up, and +Z pointing forward out from the camera through the center (principal point) of the image. The resulting 2D coordinates will be expressed in pixels, with the origin in the top-left corner of the image; that is, +X pointing right, and +Y pointing down.