IdentityProjector class

A simple Projector implementation that represents the identity operation (i.e. no-op).

Inheritance

Constructors

IdentityProjector()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
projectVector(Vector2 v) Vector2
Converts a vector in the world space to the screen space.
override
scaleVector(Vector2 v) Vector2
Converts a vector representing a delta in the world space to the screen space.
override
toString() String
A string representation of this object.
inherited
unprojectVector(Vector2 v) Vector2
Converts a vector in the screen space to the world space.
override
unscaleVector(Vector2 v) Vector2
Converts a vector representing a delta in the screen space to the world space.
override

Operators

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