Namespace: DeltaEngine.Rendering3D.Cameras
Assembly: DeltaEngine.Rendering3D (in DeltaEngine.Rendering3D.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering3D.Tests.Cameras.LookAtCameraTests
1 unit tests call DeltaEngine.Rendering3D.Cameras.Camera.WorldToScreenPoint(DeltaEngine.Datatypes.Vector3D)
Assembly: DeltaEngine.Rendering3D (in DeltaEngine.Rendering3D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- point
- Type: DeltaEngine.Datatypes Vector3D
Return Value
Type: Vector2DRemarks
Examples
[Test, CloseAfterFirstFrame] public void WorldToScreenPoint() { var camera = CreateLookAtCamera(Vector3D.One, Vector3D.Zero); var point = camera.WorldToScreenPoint(Vector3D.Zero); Assert.AreEqual(Vector2D.Half, point); }
See Also