|
@@ -607,6 +607,16 @@ export abstract class Light extends Node {
|
|
light._waitingParentId = parsedLight.parentId;
|
|
light._waitingParentId = parsedLight.parentId;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // Falloff
|
|
|
|
+ if (parsedLight.falloffType !== undefined) {
|
|
|
|
+ light.falloffType = parsedLight.falloffType;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // Lightmaps
|
|
|
|
+ if (parsedLight.lightmapMode !== undefined) {
|
|
|
|
+ light.lightmapMode = parsedLight.lightmapMode;
|
|
|
|
+ }
|
|
|
|
+
|
|
// Animations
|
|
// Animations
|
|
if (parsedLight.animations) {
|
|
if (parsedLight.animations) {
|
|
for (var animationIndex = 0; animationIndex < parsedLight.animations.length; animationIndex++) {
|
|
for (var animationIndex = 0; animationIndex < parsedLight.animations.length; animationIndex++) {
|