Click or drag to resize
Ab4d.SharpEngine logo

CameraFieldOfView Property

Gets or sets a value that represents the camera field of view in degrees. By default this represents horizontal field of view, but this can be changed by setting the IsHorizontalFieldOfView property. The property is used when the ProjectionType is set to Perspective and not for Orthographic projection type. Default value is 45 degrees.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public float FieldOfView { get; set; }

Property Value

Single

Implements

IPerspectiveCameraFieldOfView
See Also