public static void CreateScreenshot(Engine engine, Camera camera, IScreenshotSize size, ActionCallback <string> successCallback = null, string mimeType = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { "BABYLON", "Tools", "CreateScreenshot" }, engine, camera, size, successCallback, mimeType } ); }
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 static void CreateScreenshotUsingRenderTarget(Engine engine, Camera camera, IScreenshotSize size, ActionCallback <string> successCallback = null, string mimeType = null, System.Nullable <decimal> samples = null, System.Nullable <bool> antialiasing = null, string fileName = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { "BABYLON", "Tools", "CreateScreenshotUsingRenderTarget" }, engine, camera, size, successCallback, mimeType, samples, antialiasing, fileName } ); }
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 } )); }