示例#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
                ));
 }
示例#3
0
 public ValueTask set_getRenderTargetTextures(ActionResultCallback <SmartArray <RenderTargetTexture> > value)
 {
     return(EventHorizonBlazorInterop.Set(
                this.___guid,
                "getRenderTargetTextures",
                value
                ));
 }
示例#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
     }
         );
 }
示例#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
     }
         );
 }
示例#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
     }
                ));
 }
示例#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
     }
         );
 }
示例#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
     }
         );
 }
示例#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
     }
                ));
 }
示例#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
     }
                ));
 }
示例#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
     }
                ));
 }
示例#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
     }
                ));
 }
示例#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
     }
                ));
 }
示例#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
     }
         );
 }
示例#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
     }
                ));
 }
示例#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
     }
                ));
 }