ContributorLightSample class final

One light as a point with no surface receives it, as contributorLight answers it.

Constructors

ContributorLightSample({required Vector3 toLight, required Vector3 radiance})
Light arriving along toLight with radiance.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
radiance → Vector3
The light's colour times its intensity and its attenuation at the point, linear; zero for a light that gives this point nothing.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toLight → Vector3
The unit direction from the point towards the light, in world space.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override