PunctualLight class final
A point or spot light.
Constructors
Properties
- color ↔ (double, double, double)
-
Linear colour.
getter/setter pair
- direction → Vector3
-
Spot: the way it points (light travels).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerConeAngle ↔ double
-
Spot: full intensity inside.
getter/setter pair
- intensity ↔ double
-
Candela-ish multiplier.
getter/setter pair
- outerConeAngle ↔ double
-
Spot: dark outside.
getter/setter pair
- position → Vector3
-
Where it is.
final
- range ↔ double?
-
Where it stops, or null.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ LightType
-
Point or spot.
getter/setter pair
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