Camera.SetPerspectiveMode
Camera.SetPerspectiveMode method
Configures this Camera
to use perspective projection.
public void SetPerspectiveMode(float? aspectRatio, float yfov, float znear, float zfar)
Parameter | Type | Description |
---|---|---|
aspectRatio | Nullable`1 | The aspect ratio between horizontal and vertical. (optional) |
yfov | Single | The vertical field of view, in radians. |
znear | Single | Distance to the near pane in the Z axis. |
zfar | Single | Distance to the far plane in the Z axis. |
See Also
- class Camera
- namespace Aspose.CAD.FileFormats.GLB
- assembly Aspose.CAD