Interface IProvidesCameraIntrinsics
Defines the API for a Camera Intrinsics Provider This functionality provider is responsible for providing information about the intrinsics of the physical camera
Inherited Members
Namespace: Unity.MARS
Syntax
public interface IProvidesCameraIntrinsics : IFunctionalityProvider
Properties
FocalLength
The focal length of the camera, in pixels
Declaration
float FocalLength { get; }
Property Value
Type | Description |
---|---|
Single |
Methods
GetFieldOfView()
Get the field of view of the physical camera
Declaration
float? GetFieldOfView()
Returns
Type | Description |
---|---|
Nullable<Single> | The camera field of view |
Events
FieldOfViewUpdated
Called when the camera field of view has changed
Declaration
event Action<float> FieldOfViewUpdated
Event Type
Type | Description |
---|---|
Action<Single> |