|
@@ -11,6 +11,7 @@ import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
import { SubMesh } from "babylonjs/Meshes/subMesh";
|
|
import { SubMesh } from "babylonjs/Meshes/subMesh";
|
|
import { Mesh } from "babylonjs/Meshes/mesh";
|
|
import { Mesh } from "babylonjs/Meshes/mesh";
|
|
import { Scene } from "babylonjs/scene";
|
|
import { Scene } from "babylonjs/scene";
|
|
|
|
+import { _TypeStore } from 'babylonjs/Misc/typeStore';
|
|
|
|
|
|
import "./shaders/fluent.vertex";
|
|
import "./shaders/fluent.vertex";
|
|
import "./shaders/fluent.fragment";
|
|
import "./shaders/fluent.fragment";
|
|
@@ -309,4 +310,6 @@ export class FluentMaterial extends PushMaterial {
|
|
public static Parse(source: any, scene: Scene, rootUrl: string): FluentMaterial {
|
|
public static Parse(source: any, scene: Scene, rootUrl: string): FluentMaterial {
|
|
return SerializationHelper.Parse(() => new FluentMaterial(source.name, scene), source, scene, rootUrl);
|
|
return SerializationHelper.Parse(() => new FluentMaterial(source.name, scene), source, scene, rootUrl);
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+_TypeStore.RegisteredTypes["BABYLON.GUI.FluentMaterial"] = FluentMaterial;
|