LightSource class abstract

Describes the properties of a light source. There are three types of light sources: point, directional, and spot. Currently only PointLight is implemented.

Implementers

Constructors

LightSource({required Color color, required double intensity})

Properties

color → Color
final
hashCode → int
The hash code for this object.
no setterinherited
intensity → double
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