コード例 #1
0
 public async ValueTask linkTransformNode(TransformNode transformNode)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "linkTransformNode" }, transformNode
     }
         );
 }
コード例 #2
0
 public void linkTransformNode(TransformNode transformNode)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "linkTransformNode" }, transformNode
     }
         );
 }
コード例 #3
0
 public void attachToMesh(TransformNode transformNode)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "attachToMesh" }, transformNode
     }
         );
 }
コード例 #4
0
 public async ValueTask <TransformNode> attachToBone(Bone bone, TransformNode affectedTransformNode)
 {
     return(await EventHorizonBlazorInterop.FuncClass <TransformNode>(
                entity => new TransformNode()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "attachToBone" }, bone, affectedTransformNode
     }
                ));
 }
コード例 #5
0
 public async ValueTask <TransformNode> instantiateHierarchy(TransformNode newParent = null, object options = null, ActionCallback <TransformNode, TransformNode> onNewNodeCreated = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <TransformNode>(
                entity => new TransformNode()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "instantiateHierarchy" }, newParent, options, onNewNodeCreated
     }
                ));
 }
コード例 #6
0
 public async ValueTask <TransformNode> get_emitterNode()
 {
     if (__emitterNode == null)
     {
         __emitterNode = await EventHorizonBlazorInterop.GetClass <TransformNode>(
             this.___guid,
             "emitterNode",
             (entity) =>
         {
             return(new TransformNode()
             {
                 ___guid = entity.___guid
             });
         }
             );
     }
     return(__emitterNode);
 }