PbrLightTypeContext class final

What PbrHooks.lightType is handed for each light before it is sampled: its type code and the last vec4 of its row.

Made by PbrShader for each light, never by a hook.

Properties

code → double
The light's type code, a whole number with no unit: the engine's below 16, a plugin's from 16 up.
final
hashCode → int
The hash code for this object.
no setterinherited
params → Vector4
The row's last vec4, which a plugin's light type packs its parameters in.
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