コード例 #1
0
 public ValueTask set_nodeMaterialSource(NodeMaterial value)
 {
     __nodeMaterialSource = null;
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "nodeMaterialSource",
                value
                ));
 }
コード例 #2
0
 public async ValueTask autoConfigure(NodeMaterial material)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "autoConfigure" }, material
     }
         );
 }
コード例 #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
     }
                ));
 }
コード例 #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
     }
         );
 }
コード例 #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
     }
         );
 }
コード例 #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
     }
         );
 }
コード例 #7
0
 public void autoConfigure(NodeMaterial material)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "autoConfigure" }, material
     }
         );
 }
コード例 #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
     }
         );
 }
コード例 #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
     }
         );
 }
コード例 #11
0
 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);
 }
コード例 #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
     }
                ));
 }