Environment class base

Shared material rendering properties.

A default environment can be set on the Scene, which is automatically applied to all materials. Individual Materials may optionally override the default environment.

Constructors

Environment({EnvironmentMap? environmentMap, double intensity = 1.0, double exposure = 2.0})

Properties

environmentMap EnvironmentMap
The environment map to use for image-based-lighting.
getter/setter pair
exposure double
The exposure level used for tone mapping.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
intensity double
The intensity of the environment map.
getter/setter pair
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
withNewEnvironmentMap(EnvironmentMap environmentMap) Environment

Operators

operator ==(Object other) bool
The equality operator.
inherited