 |
DXScenePoints3DTo2D(Vector3, Vector2, Boolean) Method |
Points3DTo2D calculates 2D screen positions from the specified 3D positions.
Calculated screen positions are stored into the specified points2D array (its size must be at least the size of the 3D positions).
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.2.9484.2048 (1.0.0.0)
Syntaxpublic bool Points3DTo2D(
Vector3[] points3D,
Vector2[] points2D,
bool useParallelFor = false
)
Parameters
- points3D Vector3
- array of 3D positions defined as Vector3
- points2D Vector2
- array that will be filled with 2D positions on the screen
- useParallelFor Boolean (Optional)
- when true, then Parallel for is used
Return Value
Booleantrue when the calculation was successful, false when the camera is not fully initialized and its matrix is not correct
See Also