VirtualLighting class final

A lighting type where the position of the light follows the camera and is set behind the camera with a small offset.

Inheritance

Constructors

VirtualLighting({required bool areDirectShadowsEnabled})
Creates a virtual lighting for illuminating a scene.
factory

Properties

areDirectShadowsEnabled bool
True if shadows cast by the main light source should be shown, false otherwise.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
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