setProperty method

  1. @override
Object3D setProperty(
  1. String propertyName,
  2. dynamic value
)
override

Implementation

@override
setProperty(String propertyName, value) {
  if (propertyName == "intensity") {
    intensity = value;
  } else {
    super.setProperty(propertyName, value);
  }

  return this;
}