Interface ICamera
Represents a TriLib Camera.
Inherited Members
Namespace: TriLibCore.Interfaces
Assembly: TriLibCore.dll
Syntax
public interface ICamera : IModel, IObject
Properties
AspectRatio
The camera aspect ratio.
Declaration
float AspectRatio { get; set; }
Property Value
Type | Description |
---|---|
float |
FarClipPlane
The camera far clip distance.
Declaration
float FarClipPlane { get; set; }
Property Value
Type | Description |
---|---|
float |
FieldOfView
The camera field of view in degrees.
Declaration
float FieldOfView { get; set; }
Property Value
Type | Description |
---|---|
float |
FocalLength
The physical camera focal length.
Declaration
float FocalLength { get; set; }
Property Value
Type | Description |
---|---|
float |
GateFitMode
The physical camera gate fit mode.
Declaration
Camera.GateFitMode GateFitMode { get; set; }
Property Value
Type | Description |
---|---|
GateFitMode |
HasTarget
Defines whether this camera has a target.
Declaration
bool HasTarget { get; set; }
Property Value
Type | Description |
---|---|
bool |
LensShift
The physical camera lens shift.
Declaration
Vector2 LensShift { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
NearClipPlane
The camera near clip plane distance.
Declaration
float NearClipPlane { get; set; }
Property Value
Type | Description |
---|---|
float |
Ortographic
Indicates whether the camera ortographic?
Declaration
bool Ortographic { get; set; }
Property Value
Type | Description |
---|---|
bool |
OrtographicSize
The camera ortographic size.
Declaration
float OrtographicSize { get; set; }
Property Value
Type | Description |
---|---|
float |
PhysicalCamera
Defines whether this is a camera with physical properties.
Declaration
bool PhysicalCamera { get; set; }
Property Value
Type | Description |
---|---|
bool |
SensorSize
The physical camera sensor size.
Declaration
Vector2 SensorSize { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |