Exemple #1
0
 public async ValueTask linkTransformNode(TransformNode transformNode)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "linkTransformNode" }, transformNode
     }
         );
 }
Exemple #2
0
 public void linkTransformNode(TransformNode transformNode)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "linkTransformNode" }, transformNode
     }
         );
 }
Exemple #3
0
 public void attachToMesh(TransformNode transformNode)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "attachToMesh" }, transformNode
     }
         );
 }
Exemple #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
     }
                ));
 }
Exemple #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
     }
                ));
 }
 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);
 }