Share via


Vector3.Project(Object,Matrix,Matrix,Matrix) Method (Microsoft.DirectX)

Projects a vector from object space into screen space.

Definition

Visual Basic Public Sub Project( _
    ByVal viewport As Object, _
    ByVal projection As Matrix, _
    ByVal view As Matrix, _
    ByVal world As Matrix _
)
C# public void Project(
    object viewport,
    Matrix projection,
    Matrix view,
    Matrix world
);
C++ public:
void Project(
    ObjectLeave Siteviewport,
    Matrix projection,
    Matrix view,
    Matrix world
);
JScript public function Project(
    viewport : ObjectLeave Site,
    projection : Matrix,
    view : Matrix,
    world : Matrix
);

Parameters

viewport System.Object
An ObjectLeave Site structure that represents the viewport. Only Viewport structures are valid for this parameter.
projection Microsoft.DirectX.Matrix
A Matrix structure that represents the projection matrix.
view Microsoft.DirectX.Matrix
A Matrix structure that represents the view matrix.
world Microsoft.DirectX.Matrix
A Matrix structure that represents the world matrix.

See Also