Class Camera

Camera class

A camera’s projection. A node MAY reference a camera to apply a transform to place the camera in the scene.

public sealed class Camera : LogicalChildOfRoot

Properties

NameDescription
Extensions { get; }Gets a collection of JsonSerializable instances.
Extras { get; set; }Gets or sets the extras content of this instance.
LogicalIndex { get; }Gets the zero-based index of this object in the Logical resources of GlbImage.
LogicalParent { get; }Gets the GlbImage instance that owns this object.
Matrix { get; }Gets the projection matrix for the current Settings
Name { get; set; }Gets or sets the display text name, or null.
Settings { get; }

Methods

NameDescription
GetExtension<T>()
RemoveExtensions<T>()
RemoveExtensions<T>(T)
SetExtension<T>(T)
SetOrthographicMode(float, float, float, float)Configures this Camera to use Orthographic projection.
SetPerspectiveMode(float?, float, float, float)Configures this Camera to use perspective projection.
UseExtension<T>()

See Also