コード例 #1
0
 public async Task CallUnregisterAfterWorldMatrixUpdateActions(TransformNode mesh)
 {
     foreach (var action in _unregisterAfterWorldMatrixUpdateActionMap.Values)
     {
         await action(mesh);
     }
 }
コード例 #2
0
 public void attachToMesh(TransformNode transformNode)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "attachToMesh" }, transformNode
     }
         );
 }
コード例 #3
0
 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
     }
         );
 }
コード例 #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
     }
                ));
 }
コード例 #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
     }
                ));
 }