Perspective class
provides the Input for perspective projection, i.e. the uPerspectiveViewMatrix Uniform which also requires a Camera for view matrix.
- Inheritance
-
- Object
- NamedEntity
- UniformGroup
- Perspective
- Implementers
Constructors
- Perspective(Spatial _camera, double _near, double _far, [String name = "perspective"])
Properties
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