コード例 #1
0
 public void prepareDefines(AbstractMesh mesh, NodeMaterial nodeMaterial, NodeMaterialDefines defines)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "prepareDefines" }, mesh, nodeMaterial, defines
     }
         );
 }
コード例 #2
0
 public void bind(Effect effect, NodeMaterial nodeMaterial, Mesh mesh = null)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "bind" }, effect, nodeMaterial, mesh
     }
         );
 }
コード例 #3
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
     }
         );
 }
コード例 #4
0
 public void autoConfigure(NodeMaterial material)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "autoConfigure" }, material
     }
         );
 }
 public bool isReady(AbstractMesh mesh, NodeMaterial nodeMaterial, NodeMaterialDefines defines, System.Nullable <bool> useInstances = null)
 {
     return(EventHorizonBlazorInterop.Func <bool>(
                new object[]
     {
         new string[] { this.___guid, "isReady" }, mesh, nodeMaterial, defines, useInstances
     }
                ));
 }
 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
     }
         );
 }
コード例 #7
0
 public static ValueTask <NodeMaterial> ParseFromSnippetAsync(string snippetId, Scene scene, string rootUrl = null, NodeMaterial nodeMaterial = null)
 {
     return(EventHorizonBlazorInterop.TaskClass <NodeMaterial>(
                entity => new NodeMaterial()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "NodeMaterial", "ParseFromSnippetAsync" }, snippetId, scene, rootUrl, nodeMaterial
     }
                ));
 }