public static ValueTask <string> CreateScreenshotUsingRenderTargetAsync(Engine engine, Camera camera, IScreenshotSize size, string mimeType = null, System.Nullable <decimal> samples = null, System.Nullable <bool> antialiasing = null, string fileName = null) { return(EventHorizonBlazorInterop.Task <string>( new object[] { new string[] { "BABYLON", "Tools", "CreateScreenshotUsingRenderTargetAsync" }, engine, camera, size, mimeType, samples, antialiasing, fileName } )); }
public async static ValueTask LoadScriptAsync(string scriptUrl, string scriptId = null) { await EventHorizonBlazorInterop.Task <CachedEntity>( new object[] { new string[] { "BABYLON", "Tools", "LoadScriptAsync" }, scriptUrl, scriptId } ); }
public static ValueTask <string> CreateScreenshotAsync(Engine engine, Camera camera, IScreenshotSize size, string mimeType = null) { return(EventHorizonBlazorInterop.Task <string>( new object[] { new string[] { "BABYLON", "Tools", "CreateScreenshotAsync" }, engine, camera, size, mimeType } )); }
public async static ValueTask DelayAsync(decimal delay) { await EventHorizonBlazorInterop.Task <CachedEntity>( new object[] { new string[] { "BABYLON", "Tools", "DelayAsync" }, delay } ); }
public async ValueTask forceCompilationAsync(CachedEntity options = null) { await EventHorizonBlazorInterop.Task <CachedEntity>( new object[] { new string[] { this.___guid, "forceCompilationAsync" }, options } ); }
public async ValueTask forceCompilationAsync(AbstractMesh mesh, IMaterialCompilationOptions options = null) { await EventHorizonBlazorInterop.Task <CachedEntity>( new object[] { new string[] { this.___guid, "forceCompilationAsync" }, mesh, options } ); }
public async ValueTask loadAsync(string url) { await EventHorizonBlazorInterop.Task <CachedEntity>( new object[] { new string[] { this.___guid, "loadAsync" }, url } ); }
public async ValueTask edit(INodeMaterialEditorOptions config = null) { await EventHorizonBlazorInterop.Task <CachedEntity>( new object[] { new string[] { this.___guid, "edit" }, config } ); }