示例#1
0
 public static async ValueTask<Animatable[]> CreateAndStartHierarchyAnimation(string name, Node node, bool directDescendantsOnly, string targetProperty, decimal framePerSecond, decimal totalFrame, object from, object to, System.Nullable<decimal> loopMode = null, EasingFunction easingFunction = null, ActionCallback onAnimationEnd = null)
 {
     return await EventHorizonBlazorInterop.FuncArrayClass<Animatable>(
         entity => new Animatable() { ___guid = entity.___guid },
         new object[]
         {
             new string[] { "BABYLON", "Animation", "CreateAndStartHierarchyAnimation" }, name, node, directDescendantsOnly, targetProperty, framePerSecond, totalFrame, from, to, loopMode, easingFunction, onAnimationEnd
         }
     );
 }
示例#2
0
 public async ValueTask<IAnimationKeyCachedEntity[]> getKeys()
 {
     return await EventHorizonBlazorInterop.FuncArrayClass<IAnimationKeyCachedEntity>(
         entity => new IAnimationKeyCachedEntity() { ___guid = entity.___guid },
         new object[]
         {
             new string[] { this.___guid, "getKeys" }
         }
     );
 }
示例#3
0
 public async ValueTask<AnimationEvent[]> getEvents()
 {
     return await EventHorizonBlazorInterop.FuncArrayClass<AnimationEvent>(
         entity => new AnimationEvent() { ___guid = entity.___guid },
         new object[]
         {
             new string[] { this.___guid, "getEvents" }
         }
     );
 }
 public async ValueTask <RuntimeAnimation[]> getAnimations()
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <RuntimeAnimation>(
                entity => new RuntimeAnimation()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getAnimations" }
     }
                ));
 }
示例#5
0
 public async ValueTask <Material[]> getChildren()
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <Material>(
                entity => new Material()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getChildren" }
     }
                ));
 }
 public IAnimatableCachedEntity[] getAnimatables()
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <IAnimatableCachedEntity>(
                entity => new IAnimatableCachedEntity()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getAnimatables" }
     }
                ));
 }
 public AnimationRange[] getAnimationRanges()
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <AnimationRange>(
                entity => new AnimationRange()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getAnimationRanges" }
     }
                ));
 }
示例#8
0
 public async ValueTask <Node[]> getChildren(ActionCallback <Node> predicate = null, System.Nullable <bool> directDescendantsOnly = null)
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <Node>(
                entity => new Node()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getChildren" }, predicate, directDescendantsOnly
     }
                ));
 }
 public static P[] SliceToArray <T, P>(T data, System.Nullable <decimal> start = null, System.Nullable <decimal> end = null) where T : CachedEntity, new() where P : CachedEntity, new()
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <P>(
                entity => new P()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Tools", "SliceToArray" }, data, start, end
     }
                ));
 }
 public async ValueTask <Control[]> keepsFocusWith()
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <Control>(
                entity => new Control()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "keepsFocusWith" }
     }
                ));
 }
示例#11
0
 public async ValueTask <PickingInfo[]> intersectsMeshes(AbstractMesh[] meshes, System.Nullable <bool> fastCheck = null, PickingInfo[] results = null)
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <PickingInfo>(
                entity => new PickingInfo()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "intersectsMeshes" }, meshes, fastCheck, results
     }
                ));
 }
示例#12
0
 public Control[] getDescendants(System.Nullable <bool> directDescendantsOnly = null, ActionResultCallback <Control, bool> predicate = null)
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <Control>(
                entity => new Control()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getDescendants" }, directDescendantsOnly, predicate
     }
                ));
 }
示例#13
0
 public async ValueTask <TextureBlock[]> getTextureBlocks()
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <TextureBlock>(
                entity => new TextureBlock()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getTextureBlocks" }
     }
                ));
 }
示例#14
0
 public Container[] getChildren()
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <Container>(
                entity => new Container()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getChildren" }
     }
                ));
 }
 public IntersectionObserverEntry[] takeRecords()
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <IntersectionObserverEntry>(
                entity => new IntersectionObserverEntry()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "takeRecords" }
     }
                ));
 }
示例#16
0
 public async ValueTask <TransformNode[]> getChildTransformNodes(System.Nullable <bool> directDescendantsOnly = null, ActionResultCallback <Node, bool> predicate = null)
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <TransformNode>(
                entity => new TransformNode()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getChildTransformNodes" }, directDescendantsOnly, predicate
     }
                ));
 }
 public Control[] getChildrenAt(decimal row, decimal column)
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <Control>(
                entity => new Control()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getChildrenAt" }, row, column
     }
                ));
 }
示例#18
0
 public async ValueTask <BaseTexture[]> getActiveTextures()
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <BaseTexture>(
                entity => new BaseTexture()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getActiveTextures" }
     }
                ));
 }
示例#19
0
 public async ValueTask <PickingInfo[]> multiIntersects(Ray ray, Camera camera, ActionResultCallback <Sprite, bool> predicate = null)
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <PickingInfo>(
                entity => new PickingInfo()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "multiIntersects" }, ray, camera, predicate
     }
                ));
 }
 public InputBlock[] getInputBlocks()
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <InputBlock>(
                entity => new InputBlock()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getInputBlocks" }
     }
                ));
 }
 public async ValueTask <Node[]> getNodes()
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <Node>(
                entity => new Node()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getNodes" }
     }
                ));
 }
示例#22
0
 public async ValueTask <Color3Gradient[]> getRampGradients()
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <Color3Gradient>(
                entity => new Color3Gradient()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getRampGradients" }
     }
                ));
 }
示例#23
0
 public async ValueTask <AbstractMesh[]> getBindedMeshes()
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <AbstractMesh>(
                entity => new AbstractMesh()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getBindedMeshes" }
     }
                ));
 }
 public Bone[] getChildren()
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <Bone>(
                entity => new Bone()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getChildren" }
     }
                ));
 }
 public AnimationGroup[] mergeAnimationsTo(Animatable[] animatables, Scene scene = null, ActionCallback <CachedEntity> targetConverter = null)
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "mergeAnimationsTo" }, scene, animatables, targetConverter
     }
                ));
 }
示例#26
0
 public async ValueTask <AbstractMesh[]> getChildMeshes(System.Nullable <bool> directDescendantsOnly = null, ActionCallback <Node> predicate = null)
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <AbstractMesh>(
                entity => new AbstractMesh()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getChildMeshes" }, directDescendantsOnly, predicate
     }
                ));
 }