PointLight.fromJSON constructor
Implementation
PointLight.fromJSON(
Map<String, dynamic> json,
Map<String, dynamic> rootJSON,
) : super.fromJSON(json, rootJSON) {
type = "PointLight";
distance = json["distance"];
decay = json["decay"] ?? 1;
shadow = PointLightShadow.fromJSON(json["shadow"], rootJSON);
}