Class CameraBase<TOrthographic, TPerspective>
A camera’s projection
Inherited Members
Namespace: GLTFast.Schema
Assembly: glTFast.dll
Syntax
[Serializable]
public abstract class CameraBase<TOrthographic, TPerspective> : CameraBase where TOrthographic : CameraOrthographic where TPerspective : CameraPerspective
Type Parameters
| Name | Description |
|---|---|
| TOrthographic | Orthographic camera type |
| TPerspective | Perspective camera type |
Fields
orthographic
An orthographic camera containing properties to create an orthographic projection matrix.
Declaration
public TOrthographic orthographic
Field Value
| Type | Description |
|---|---|
| TOrthographic |
perspective
An orthographic camera containing properties to create an orthographic projection matrix.
Declaration
public TPerspective perspective
Field Value
| Type | Description |
|---|---|
| TPerspective |
Properties
Orthographic
An orthographic camera containing properties to create an orthographic projection matrix.
Declaration
public override CameraOrthographic Orthographic { get; }
Property Value
| Type | Description |
|---|---|
| CameraOrthographic |
Overrides
Perspective
An orthographic camera containing properties to create an orthographic projection matrix.
Declaration
public override CameraPerspective Perspective { get; }
Property Value
| Type | Description |
|---|---|
| CameraPerspective |