Class CameraOrthographic
An orthographic camera containing properties to create an orthographic projection matrix.
Inherited Members
Namespace: Unity.Cloud.Gltfast.Objects
Assembly: Unity.Cloud.Gltfast.dll
Syntax
[MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
public class CameraOrthographic
Properties
AdditionalProperties
Additional properties on glTF JSON objects. Those properties may have been added by a new, unsupported version of the glTF specification. For extending glTF, please use extensions or extras instead.
Declaration
[JsonIgnore]
public ReadOnlyProperties AdditionalProperties { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyProperties |
Extensions
JSON object with extension-specific objects.
Declaration
[JsonPropertyName("extensions")]
public CameraOrthographicExtensions Extensions { get; set; }
Property Value
| Type | Description |
|---|---|
| CameraOrthographicExtensions |
See Also
Extras
Application-specific data.
Declaration
[JsonPropertyName("extras")]
[JsonConverter(typeof(ExtrasConverter))]
public ExtrasContainer Extras { get; set; }
Property Value
| Type | Description |
|---|---|
| ExtrasContainer |
See Also
Xmag
The floating-point horizontal magnification of the view. Must not be zero.
Declaration
[JsonPropertyName("xmag")]
public float Xmag { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Ymag
The floating-point vertical magnification of the view. Must not be zero.
Declaration
[JsonPropertyName("ymag")]
public float Ymag { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Zfar
Declaration
[JsonPropertyName("zfar")]
public float Zfar { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Znear
The floating-point distance to the near clipping plane.
Declaration
[JsonPropertyName("znear")]
public float Znear { get; set; }
Property Value
| Type | Description |
|---|---|
| float |