Example #1
0
 public ValueTask set_processFinalCode(ActionResultCallback <string, string, string> value)
 {
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "processFinalCode",
                value
                ));
 }
 public ValueTask set_onprogress(ActionResultCallback <ActionResultCallback <XMLHttpRequest, ProgressEvent, CachedEntity> > value)
 {
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "onprogress",
                value
                ));
 }
Example #3
0
 public ValueTask set_getRenderTargetTextures(ActionResultCallback <SmartArray <RenderTargetTexture> > value)
 {
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "getRenderTargetTextures",
                value
                ));
 }
Example #4
0
 public ValueTask set_valueCallback(ActionResultCallback <CachedEntity> value)
 {
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "valueCallback",
                value
                ));
 }
 public static ValueTask set_DefaultRetryStrategy(ActionResultCallback <string, WebRequest, decimal, decimal> value)
 {
     return(EventHorizonBlazorInterop.Set(
                "BABYLON",
                "Tools.DefaultRetryStrategy",
                value
                ));
 }
 public static ValueTask set_PreprocessUrl(ActionResultCallback <string, string> value)
 {
     return(EventHorizonBlazorInterop.Set(
                "BABYLON",
                "Tools.PreprocessUrl",
                value
                ));
 }
 public ValueTask set_wordSplittingFunction(ActionResultCallback <string, string[]> value)
 {
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "wordSplittingFunction",
                value
                ));
 }
 public async ValueTask removeEventListener <K>(K type, ActionResultCallback <XMLHttpRequest, K, CachedEntity> listener, System.Nullable <bool> options = null)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "removeEventListener" }, type, listener, options
     }
         );
 }
 public async ValueTask sort(ActionResultCallback <T, T, decimal> compareFn)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "sort" }, compareFn
     }
         );
 }
Example #10
0
 public void setRenderingOrder(decimal renderingGroupId, ActionResultCallback <SubMesh, SubMesh, decimal> opaqueSortCompareFn = null, ActionResultCallback <SubMesh, SubMesh, decimal> alphaTestSortCompareFn = null, ActionResultCallback <SubMesh, SubMesh, decimal> transparentSortCompareFn = null)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "setRenderingOrder" }, renderingGroupId, opaqueSortCompareFn, alphaTestSortCompareFn, transparentSortCompareFn
     }
         );
 }
 public void stop(string animationName = null, ActionResultCallback <object, bool> targetMask = null)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "stop" }, animationName, targetMask
     }
         );
 }
Example #12
0
 public bool hasSpecificTrigger(decimal trigger, ActionResultCallback <object, bool> parameterPredicate = null)
 {
     return(EventHorizonBlazorInterop.Func <bool>(
                new object[]
     {
         new string[] { this.___guid, "hasSpecificTrigger" }, trigger, parameterPredicate
     }
                ));
 }
Example #13
0
 public static async ValueTask AddNodeConstructor(string type, ActionResultCallback <string, Scene, CachedEntity, ActionResultCallback <Node> > constructorFunc)
 {
     await EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { "BABYLON", "Node", "AddNodeConstructor" }, type, constructorFunc
     }
         );
 }
Example #14
0
 public static void AddIndividualParser(string name, ActionResultCallback <CachedEntity, Scene, string, CachedEntity> parser)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { "BABYLON", "AbstractScene", "AddIndividualParser" }, name, parser
     }
         );
 }
Example #15
0
 public async ValueTask <InputBlock> getInputBlockByPredicate(ActionResultCallback <InputBlock, bool> predicate)
 {
     return(await EventHorizonBlazorInterop.FuncClass <InputBlock>(
                entity => new InputBlock()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getInputBlockByPredicate" }, predicate
     }
                ));
 }
Example #16
0
 public async ValueTask <Node[]> getChildren(ActionResultCallback <Node, bool> 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 async ValueTask <AnimationGroup> clone(string newName, ActionResultCallback <object, CachedEntity> targetConverter = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "clone" }, newName, targetConverter
     }
                ));
 }
 public NodeMaterialBlock getBlockByPredicate(ActionResultCallback <NodeMaterialBlock, bool> predicate)
 {
     return(EventHorizonBlazorInterop.FuncClass <NodeMaterialBlock>(
                entity => new NodeMaterialBlock()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "getBlockByPredicate" }, predicate
     }
                ));
 }
Example #19
0
 public async ValueTask <PickingInfo> intersects(Ray ray, Camera camera, ActionResultCallback <Sprite, bool> predicate = null, System.Nullable <bool> fastCheck = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <PickingInfo>(
                entity => new PickingInfo()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "intersects" }, ray, camera, predicate, fastCheck
     }
                ));
 }
 public static T First <T>(T[] array, ActionResultCallback <T, bool> predicate) where T : CachedEntity, new()
 {
     return(EventHorizonBlazorInterop.FuncClass <T>(
                entity => new T()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Tools", "First" }, array, predicate
     }
                ));
 }
Example #21
0
 public async ValueTask <InstantiatedEntries> instantiateModelsToScene(ActionResultCallback <string, string> nameFunction = null, System.Nullable <bool> cloneMaterials = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <InstantiatedEntries>(
                entity => new InstantiatedEntries()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "instantiateModelsToScene" }, nameFunction, cloneMaterials
     }
                ));
 }
Example #22
0
 public PickingInfo[] multiIntersects(Ray ray, Camera camera, ActionResultCallback <Sprite, bool> predicate = null)
 {
     return(EventHorizonBlazorInterop.FuncArrayClass <PickingInfo>(
                entity => new PickingInfo()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "multiIntersects" }, ray, camera, predicate
     }
                ));
 }
Example #23
0
 public async ValueTask <AnimationGroup[]> mergeAnimationsTo(Animatable[] animatables, Scene scene = null, ActionResultCallback <CachedEntity, Node> targetConverter = null)
 {
     return(await EventHorizonBlazorInterop.FuncArrayClass <AnimationGroup>(
                entity => new AnimationGroup()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "mergeAnimationsTo" }, scene, animatables, targetConverter
     }
                ));
 }
 public static IFileRequestCachedEntity ReadFile(File file, ActionCallback <object> onSuccess, ActionResultCallback <ProgressEvent, CachedEntity> onProgress = null, System.Nullable <bool> useArrayBuffer = null, ActionCallback <ReadFileError> onError = null)
 {
     return(EventHorizonBlazorInterop.FuncClass <IFileRequestCachedEntity>(
                entity => new IFileRequestCachedEntity()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Tools", "ReadFile" }, file, onSuccess, onProgress, useArrayBuffer, onError
     }
                ));
 }
 public static IFileRequestCachedEntity ReadFileAsDataURL(Blob fileToLoad, ActionCallback <object> callback, ActionResultCallback <ProgressEvent, CachedEntity> progressCallback)
 {
     return(EventHorizonBlazorInterop.FuncClass <IFileRequestCachedEntity>(
                entity => new IFileRequestCachedEntity()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "Tools", "ReadFileAsDataURL" }, fileToLoad, callback, progressCallback
     }
                ));
 }
 public static void ImportAnimations(string rootUrl, string sceneFilename = null, Scene scene = null, System.Nullable <bool> overwriteAnimations = null, System.Nullable <int> animationGroupLoadingMode = null, ActionResultCallback <CachedEntity, CachedEntity> targetConverter = null, ActionCallback <Scene> onSuccess = null, ActionCallback <ISceneLoaderProgressEvent> onProgress = null, ActionCallback <Scene, string, CachedEntity> onError = null, string pluginExtension = null)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { "BABYLON", "SceneLoader", "ImportAnimations" }, rootUrl, sceneFilename, scene, overwriteAnimations, animationGroupLoadingMode, targetConverter, onSuccess, onProgress, onError, pluginExtension
     }
         );
 }
 public void getDescendantsToRef(Control[] results, System.Nullable <bool> directDescendantsOnly = null, ActionResultCallback <Control, bool> predicate = null)
 {
     EventHorizonBlazorInterop.Func <CachedEntity>(
         new object[]
     {
         new string[] { this.___guid, "getDescendantsToRef" }, results, directDescendantsOnly, predicate
     }
         );
 }
Example #28
0
 public async ValueTask <TransformNode> normalizeToUnitCube(System.Nullable <bool> includeDescendants = null, System.Nullable <bool> ignoreRotation = null, ActionResultCallback <AbstractMesh, bool> predicate = null)
 {
     return(await EventHorizonBlazorInterop.FuncClass <TransformNode>(
                entity => new TransformNode()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { this.___guid, "normalizeToUnitCube" }, includeDescendants, ignoreRotation, predicate
     }
                ));
 }
Example #29
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
     }
                ));
 }
 public static ValueTask <Scene> ImportAnimationsAsync(string rootUrl, string sceneFilename = null, Scene scene = null, System.Nullable <bool> overwriteAnimations = null, System.Nullable <int> animationGroupLoadingMode = null, ActionResultCallback <CachedEntity, CachedEntity> targetConverter = null, ActionCallback <Scene> onSuccess = null, ActionCallback <ISceneLoaderProgressEvent> onProgress = null, ActionCallback <Scene, string, CachedEntity> onError = null, string pluginExtension = null)
 {
     return(EventHorizonBlazorInterop.TaskClass <Scene>(
                entity => new Scene()
     {
         ___guid = entity.___guid
     },
                new object[]
     {
         new string[] { "BABYLON", "SceneLoader", "ImportAnimationsAsync" }, rootUrl, sceneFilename, scene, overwriteAnimations, animationGroupLoadingMode, targetConverter, onSuccess, onProgress, onError, pluginExtension
     }
                ));
 }