Perspective class

provides the Input for perspective projection, i.e. the uPerspectiveViewMatrix Uniform which also requires a Camera for view matrix.

Inheritance
Implementers

Constructors

Perspective(Spatial _camera, double _near, double _far, [String name = "perspective"])

Properties

debug bool
getter/setter pairinherited
enabled bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

AdjustAspect(int w, int h) → void
ForceUniform(String canonical, Object val) → void
inherited
GetUniforms() Map<String, Object>
override
HasUniform(String canonical) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
SetUniform(String canonical, Object val) → void
inherited
toString() String
A string representation of this object.
inherited
Update() → void
UpdateCamera(Spatial cam) → void
UpdateFov(double fov) → void

Operators

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