Vector3.Unproject Method

Language:

Projects a vector from screen space into object space.

Definition

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

Parameters

viewport System.Object
An Object Leave Site that represents the viewport.
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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center