PerspectiveProjection class

The PerspectiveProjection defines the matrix that is used to projection 3D display objects on a 2D plane like the stage or other display objects.

Constructors

PerspectiveProjection()
Creates a default perspective projection which should be suitable for most use cases.
factory
PerspectiveProjection.fromDepth(num depth, num scale)
Creates a perspective projection with custom depth and scale values.
PerspectiveProjection.none()
Creates a perspective projection for 3D objects which are children of other 3D objects. For those display objects no perspective projection should be applied.

Properties

hashCode int
The hash code for this object.
no setterinherited
perspectiveMatrix3D Matrix3D
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.
inherited

Operators

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