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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public float FieldOfView { get; set; }

Property Value

Single

Implements

IPerspectiveCameraFieldOfView
See Also