Example #1
0
 public async Task CallUnregisterAfterWorldMatrixUpdateActions(TransformNode mesh)
 {
     foreach (var action in _unregisterAfterWorldMatrixUpdateActionMap.Values)
     {
         await action(mesh);
     }
 }
Example #2
0
 public void attachToMesh(TransformNode transformNode)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "attachToMesh" }, transformNode
     }
         );
 }
 public async ValueTask linkTransformNode(TransformNode transformNode)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "linkTransformNode" }, transformNode
     }
         );
 }
 public void linkTransformNode(TransformNode transformNode)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "linkTransformNode" }, transformNode
     }
         );
 }
Example #5
0
 public TransformNode attachToBone(Bone bone, TransformNode affectedTransformNode)
 {
     return(EventHorizonBlazorInterop.FuncClass <TransformNode>(
                entity => new TransformNode()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "attachToBone" }, bone, affectedTransformNode
     }
                ));
 }
Example #6
0
 public TransformNode instantiateHierarchy(TransformNode newParent = null, object options = null, ActionCallback <TransformNode, TransformNode> onNewNodeCreated = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <TransformNode>(
                entity => new TransformNode()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "instantiateHierarchy" }, newParent, options, onNewNodeCreated
     }
                ));
 }