CameraPerspective class

A perspective camera containing properties to create a perspective projection matrix.

Inheritance

Constructors

CameraPerspective({required GltfRoot root, required double? aspectRatio, required double yFov, required double? zFar, required double zNear})
CameraPerspective.parse(GltfRoot root, Map<String, Object?> map)

Properties

aspectRatio → double?
The floating-point aspect ratio of the field of view. When undefined, the aspect ratio of the rendering viewport MUST be used.
final
hashCode → int
The hash code for this object.
no setterinherited
root → GltfRoot
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
yFov → double
The floating-point vertical field of view in radians. This value SHOULD be less than π.
final
zFar → double?
The floating-point distance to the far clipping plane. When defined, zFar MUST be greater than zNear. If zFar is undefined, client implementations SHOULD use infinite projection matrix.
final
zNear → double
The floating-point distance to the near clipping plane.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited