Pārlūkot izejas kodu

configure the scene's default material

Raanan Weber 7 gadi atpakaļ
vecāks
revīzija
8fd69cd02d

+ 4 - 0
Viewer/src/configuration/configuration.ts

@@ -220,6 +220,10 @@ export interface ISceneConfiguration {
     disableCameraControl?: boolean;
     animationPropertiesOverride?: {
         [propName: string]: any;
+    };
+    defaultMaterial?: {
+        materialType: "standard" | "pbr";
+        [propName: string]: any;
     }
 }
 

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 50 - 38
Viewer/src/viewer/sceneManager.ts