PointLight class final
A local light source that emits in every direction from position.
Use point lights for lamps, glowing objects, and movable light sources.
Constructors
Properties
- castShadows → bool
-
Whether this light should cast shadows.
finalinherited
- color → Vector3
-
RGB color components in the range expected by the renderer.
finalinherited
- falloffRadius → double
-
Radius beyond which the light no longer contributes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- intensity → double
-
Luminous intensity interpreted by the active renderer.
finalinherited
- nativeType → int
-
Internal identifier passed to the native renderer.
no setteroverride
- position → Vector3
-
World-space position of the source.
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
-
toMessage(
) → Map< String, Object> -
Serializes settings for the native renderer bridge.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited