Create a textured quad.
Signature:
createTexturedQuad(image: any, options?: Partial<{
hasMask?: boolean;
color?: [number, number, number] | [number, number, number, number];
flipY?: boolean;
}>): void;
Parameter | Description |
---|---|
image | An HTML5 image object. |
options | Partial<{ hasMask?: boolean; color?: [number, number, number] | |
Returns:
void