Light3DData class final
KHR_lights_punctual: a light pointing down its node's -Z.
Constructors
- Light3DData({required Light3DKind kind, String? name, (double, double, double) color = const (1.0, 1.0, 1.0), double intensity = 1.0, double? range, double innerConeAngle = 0.0, double outerConeAngle = 0.7853981633974483})
-
A light.
const
Properties
- color → (double, double, double)
-
Linear colour.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerConeAngle → double
-
Spot: full intensity inside this angle.
final
- intensity → double
-
Lux (directional) or candela (point, spot).
final
- kind → Light3DKind
-
Directional, point or spot.
final
- name → String?
-
Name in the file.
final
- outerConeAngle → double
-
Spot: no light outside this angle.
final
- range → double?
-
Where it stops, or null for no limit.
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