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

perspectiveMatrix3D Matrix3D
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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