Winter Cardinal UI - v0.457.0 / UtilExtract
• new UtilExtract(): UtilExtract
▪ Static Protected Optional WORK_CANVAS: UtilExtractorCanvas
src/main/typescript/wcardinal/ui/util/util-extract.ts:111
▪ Static Protected Optional WORK_RENDER_TEXTURE: RenderTexture
src/main/typescript/wcardinal/ui/util/util-extract.ts:110
▸ base64(options): string
Extracts Base64 data URL from the target. This method internally creates a render texture and a canvas render target. They are used to extract pixels from the target. To free the allocated render texture and canvas render target, please call ().
| Name | Type | Description |
|---|---|---|
options |
UtilExtractBase64Options |
an extraction options |
string
extracted Base64 data URL
src/main/typescript/wcardinal/ui/util/util-extract.ts:208
▸ canvas(options): UtilExtractorCanvas
| Name | Type |
|---|---|
options |
UtilExtractCanvasOptions |
src/main/typescript/wcardinal/ui/util/util-extract.ts:192
▸ destroy(): void
Clears all the memories.
void
src/main/typescript/wcardinal/ui/util/util-extract.ts:228
▸ file(options): void
| Name | Type |
|---|---|
options |
UtilExtractFileOptions |
void
src/main/typescript/wcardinal/ui/util/util-extract.ts:221
▸ pixels(options): UtilExtractorPixels
Extracts pixels from the target. This method internally creates one render texture and use that to extract pixels from the target. To free the allocated render texture, please call ().
| Name | Type | Description |
|---|---|---|
options |
UtilExtractPixelsOptions |
an extraction options |
extracted pixels
src/main/typescript/wcardinal/ui/util/util-extract.ts:128
▸ texture(options): RenderTexture
| Name | Type |
|---|---|
options |
UtilExtractTextureOptions |
RenderTexture