setProperty method
Implementation
LightShadow setProperty(String propertyName, dynamic newValue) {
if (propertyName == "camera") {
camera = newValue;
} else if (propertyName == "bias") {
bias = newValue;
} else if (propertyName == "normalBias") {
normalBias = newValue;
} else if (propertyName == "radius") {
radius = newValue;
} else if (propertyName == "blurSamples") {
blurSamples = newValue;
} else if (propertyName == "intensity") {
intensity = newValue;
} else if (propertyName == "mapSize") {
mapSize = newValue;
} else if (propertyName == "map") {
map = newValue;
} else if (propertyName == "mapPass") {
mapPass = newValue;
} else if (propertyName == "matrix") {
matrix = newValue;
} else if (propertyName == "autoUpdate") {
autoUpdate = newValue;
} else if (propertyName == "needsUpdate") {
needsUpdate = newValue;
} else if (propertyName == "viewportCount") {
viewportCount = newValue;
} else if (propertyName == "focus") {
focus = newValue;
}
return this;
}