public static ValueTask <ArrayBuffer> LoadFileAsync(string url, System.Nullable <bool> useArrayBuffer = null) { return(EventHorizonBlazorInterop.TaskClass <ArrayBuffer>( entity => new ArrayBuffer() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "Tools", "LoadFileAsync" }, url, useArrayBuffer } )); }
public static async ValueTask <SpriteManager> ParseFromFileAsync(string url, Scene scene, string name = null, string rootUrl = null) { return(await EventHorizonBlazorInterop.TaskClass <SpriteManager>( entity => new SpriteManager() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "SpriteManager", "ParseFromFileAsync" }, name, url, scene, rootUrl } )); }
public static async ValueTask <SpriteManager> CreateFromSnippetAsync(string snippetId, Scene scene, string rootUrl = null) { return(await EventHorizonBlazorInterop.TaskClass <SpriteManager>( entity => new SpriteManager() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "SpriteManager", "CreateFromSnippetAsync" }, snippetId, scene, rootUrl } )); }
public static async ValueTask <NodeMaterial> ParseFromSnippetAsync(string snippetId, Scene scene, string rootUrl = null, NodeMaterial nodeMaterial = null) { return(await EventHorizonBlazorInterop.TaskClass <NodeMaterial>( entity => new NodeMaterial() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "NodeMaterial", "ParseFromSnippetAsync" }, snippetId, scene, rootUrl, nodeMaterial } )); }
public static async ValueTask <NodeMaterial> ParseFromFileAsync(string name, string url, Scene scene) { return(await EventHorizonBlazorInterop.TaskClass <NodeMaterial>( entity => new NodeMaterial() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "NodeMaterial", "ParseFromFileAsync" }, name, url, scene } )); }
public static async ValueTask <Animation> ParseFromFileAsync(string url, string name = null) { return(await EventHorizonBlazorInterop.TaskClass <Animation>( entity => new Animation() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "Animation", "ParseFromFileAsync" }, name, url } )); }
public static async ValueTask <Animation> CreateFromSnippetAsync(string snippetId) { return(await EventHorizonBlazorInterop.TaskClass <Animation>( entity => new Animation() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "Animation", "CreateFromSnippetAsync" }, snippetId } )); }
public static ValueTask <AssetContainer> LoadAssetContainerAsync(string rootUrl, string sceneFilename = null, Scene scene = null, ActionCallback <ISceneLoaderProgressEvent> onProgress = null, string pluginExtension = null) { return(EventHorizonBlazorInterop.TaskClass <AssetContainer>( entity => new AssetContainer() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "SceneLoader", "LoadAssetContainerAsync" }, rootUrl, sceneFilename, scene, onProgress, pluginExtension } )); }
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 } )); }
public ValueTask <T> notifyObserversWithPromise(T eventData, System.Nullable <decimal> mask = null, object target = null, object currentTarget = null, object userInfo = null) { return(EventHorizonBlazorInterop.TaskClass <T>( entity => new T() { ___guid = entity.___guid }, new object[] { new string[] { this.___guid, "notifyObserversWithPromise" }, eventData, mask, target, currentTarget, userInfo } )); }
public static ValueTask <ISceneLoaderAsyncResultCachedEntity> ImportMeshAsync(object meshNames, string rootUrl, string sceneFilename = null, Scene scene = null, ActionCallback <ISceneLoaderProgressEvent> onProgress = null, string pluginExtension = null) { return(EventHorizonBlazorInterop.TaskClass <ISceneLoaderAsyncResultCachedEntity>( entity => new ISceneLoaderAsyncResultCachedEntity() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "SceneLoader", "ImportMeshAsync" }, meshNames, rootUrl, sceneFilename, scene, onProgress, pluginExtension } )); }
public async ValueTask <Animatable> waitAsync() { return(await EventHorizonBlazorInterop.TaskClass <Animatable>( entity => new Animatable() { ___guid = entity.___guid }, new object[] { new string[] { this.___guid, "waitAsync" } } )); }
public static async ValueTask <Scene> LoadAsync(string rootUrl, string sceneFilename = null, Engine engine = null, ActionCallback <ISceneLoaderProgressEvent> onProgress = null, string pluginExtension = null) { return(await EventHorizonBlazorInterop.TaskClass <Scene>( entity => new Scene() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "SceneLoader", "LoadAsync" }, rootUrl, sceneFilename, engine, onProgress, pluginExtension } )); }
public static async ValueTask <ParticleSystemSet> CreateAsync(string type, Scene scene, System.Nullable <bool> gpu = null) { return(await EventHorizonBlazorInterop.TaskClass <ParticleSystemSet>( entity => new ParticleSystemSet() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "ParticleHelper", "CreateAsync" }, type, scene, gpu } )); }
public static async ValueTask <IParticleSystemCachedEntity> CreateFromSnippetAsync(string snippetId, Scene scene, System.Nullable <bool> gpu = null, string rootUrl = null) { return(await EventHorizonBlazorInterop.TaskClass <IParticleSystemCachedEntity>( entity => new IParticleSystemCachedEntity() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "ParticleHelper", "CreateFromSnippetAsync" }, snippetId, scene, gpu, rootUrl } )); }
public static ValueTask <IParticleSystemCachedEntity> ParseFromFileAsync(string url, Scene scene, string name = null, System.Nullable <bool> gpu = null, string rootUrl = null) { return(EventHorizonBlazorInterop.TaskClass <IParticleSystemCachedEntity>( entity => new IParticleSystemCachedEntity() { ___guid = entity.___guid }, new object[] { new string[] { "BABYLON", "ParticleHelper", "ParseFromFileAsync" }, name, url, scene, gpu, rootUrl } )); }