public ValueTask set_nodeMaterialSource(NodeMaterial value)
 {
     __nodeMaterialSource = null;
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "nodeMaterialSource",
                value
                ));
 }
Esempio n. 2
0
 public async ValueTask autoConfigure(NodeMaterial material)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "autoConfigure" }, material
     }
         );
 }
Esempio n. 3
0
 public async ValueTask <bool> isReady(AbstractMesh mesh, NodeMaterial nodeMaterial, NodeMaterialDefines defines, System.Nullable <bool> useInstances = null)
 {
     return(await EventHorizonBlazorInterop.Func <bool>(
                new object[]
     {
         new string[] { this.___guid, "isReady" }, mesh, nodeMaterial, defines, useInstances
     }
                ));
 }
Esempio n. 4
0
 public async ValueTask bind(Effect effect, NodeMaterial nodeMaterial, Mesh mesh = null, SubMesh subMesh = null)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "bind" }, effect, nodeMaterial, mesh, subMesh
     }
         );
 }
Esempio n. 5
0
 public async ValueTask prepareDefines(AbstractMesh mesh, NodeMaterial nodeMaterial, NodeMaterialDefines defines, System.Nullable <bool> useInstances = null, SubMesh subMesh = null)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "prepareDefines" }, mesh, nodeMaterial, defines, useInstances, subMesh
     }
         );
 }
Esempio n. 6
0
 public async ValueTask prepareDefines(AbstractMesh mesh, NodeMaterial nodeMaterial, NodeMaterialDefines defines)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "prepareDefines" }, mesh, nodeMaterial, defines
     }
         );
 }
Esempio n. 7
0
 public void autoConfigure(NodeMaterial material)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "autoConfigure" }, material
     }
         );
 }
Esempio n. 8
0
 public void initializeDefines(AbstractMesh mesh, NodeMaterial nodeMaterial, NodeMaterialDefines defines, System.Nullable <bool> useInstances = null)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "initializeDefines" }, mesh, nodeMaterial, defines, useInstances
     }
         );
 }
Esempio n. 9
0
 public void updateUniformsAndSamples(NodeMaterialBuildState state, NodeMaterial nodeMaterial, NodeMaterialDefines defines, string[] uniformBuffers)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "updateUniformsAndSamples" }, state, nodeMaterial, defines, uniformBuffers
     }
         );
 }
 public void bind(Effect effect, NodeMaterial nodeMaterial, Mesh mesh = null)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "bind" }, effect, nodeMaterial, mesh
     }
         );
 }
 public async ValueTask <NodeMaterial> get_nodeMaterialSource()
 {
     if (__nodeMaterialSource == null)
     {
         __nodeMaterialSource = await EventHorizonBlazorInterop.GetClass <NodeMaterial>(
             this.___guid,
             "nodeMaterialSource",
             (entity) =>
         {
             return(new NodeMaterial()
             {
                 ___guid = entity.___guid
             });
         }
             );
     }
     return(__nodeMaterialSource);
 }
Esempio n. 12
0
 public static async ValueTask <NodeMaterial> ParseFromSnippetAsync(string snippetId, Scene scene, string rootUrl = null, NodeMaterial nodeMaterial = null)
 {
     return(await EventHorizonBlazorInterop.TaskClass <NodeMaterial>(
                entity => new NodeMaterial()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "NodeMaterial", "ParseFromSnippetAsync" }, snippetId, scene, rootUrl, nodeMaterial
     }
                ));
 }