Dela via


CameraIntrinsics.ProjectManyOntoFrame(Vector3[], Point[]) Method

Definition

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

coordinates

Vector3[]

Vector3[]

float3[]

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.

Applies to