LightingOperations mixin

Mixin that adds lighting, shadow, and background control to ModelViewerProController.

Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webViewController → WebViewController?
The WebViewController supplied by the owning controller.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runJsSafe(String script) Future<Object>
Internal helper to safely execute JS with return value.
setBackgroundColor(String color) Future<bool>
Sets the CSS background colour of the viewer element.
setExposure(double value) Future<bool>
Sets the scene exposure / brightness multiplier.
setGroundVisibility(bool visible) Future<bool>
Shows or hides the ground shadow beneath the model.
setShadowIntensity(double value) Future<bool>
Sets the shadow intensity (darkness).
setShadowSoftness(double value) Future<bool>
Sets the shadow blur / softness.
toString() String
A string representation of this object.
inherited

Operators

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