ModelCamera class final
A camera decoded from glTF's own cameras, or held for a writer to
encode into it — fmt-28's own row, the other half beside
ModelLight.
Constructors
- ModelCamera({required ModelCameraProjection projection, String? name})
-
A camera projecting by
projection, namednamewhen the file named it.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
The camera's
namein the file; null when it has none.final - projection → ModelCameraProjection
-
How the camera projects: a ModelPerspectiveCamera or a
ModelOrthographicCamera.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited