@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
21 lines (20 loc) • 626 B
TypeScript
/**
* Returns a blob url from an http: or https: url
*
* @remarks
* It takes 1 argument, a url to an asset online
*
* `blob(url)`
*
* - `url` is a string, starting with http:// or https://
*
* ## Usage
*
* - `url('https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/textures/markertracking/marker_tracking1.png')` - return a url like blob:http://localhost:5000/af3f2f10-8de4-463e-9d83-82d24287f071
*
*/
import { BaseMethod } from './_Base';
export declare class BlobExpression extends BaseMethod {
static requiredArguments(): string[][];
processArguments(args: any[]): Promise<string>;
}