Esempio n. 1
0
 public void removeBlock(NodeMaterialBlock block)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "removeBlock" }, block
     }
         );
 }
Esempio n. 2
0
        public NodeMaterialConnectionPoint(
            string name, NodeMaterialBlock ownerBlock, int direction
            )
        {
            var entity = EventHorizonBlazorInterop.New(
                new string[] { "BABYLON", "NodeMaterialConnectionPoint" },
                name, ownerBlock, direction
                );

            ___guid = entity.___guid;
        }
Esempio n. 3
0
 public NodeMaterial removeOutputNode(NodeMaterialBlock node)
 {
     return(EventHorizonBlazorInterop.FuncClass <NodeMaterial>(
                entity => new NodeMaterial()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "removeOutputNode" }, node
     }
                ));
 }
 public NodeMaterialBlock connectTo(NodeMaterialBlock other, object options = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <NodeMaterialBlock>(
                entity => new NodeMaterialBlock()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "connectTo" }, other, options
     }
                ));
 }
 public NodeMaterialConnectionPoint getFirstAvailableOutput(NodeMaterialBlock forBlock = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <NodeMaterialConnectionPoint>(
                entity => new NodeMaterialConnectionPoint()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getFirstAvailableOutput" }, forBlock
     }
                ));
 }