sceneTint property

Vector3 get sceneTint

A linear colour multiplied into every material's base colour factor, composed with VRM expression colour binds, so a character whose materials draw unlit can still take the scene's light: warm at sunset, dim and cool at night. White (the default) leaves the materials as imported.

Implementation

vm.Vector3 get sceneTint => _sceneTint.clone();
set sceneTint (Vector3 value)

Implementation

set sceneTint(vm.Vector3 value) {
  _sceneTint = value.clone();
  for (final binding in _materialBindings.values) {
    binding.setSceneTint(_sceneTint);
  }
}