@awayjs/scene
Version:
AwayJS scene classes
23 lines • 798 B
TypeScript
import { TriangleElements } from '@awayjs/renderer';
import { Shape } from '@awayjs/graphics';
import { TextFormat } from './TextFormat';
import { BitmapImage2D } from '@awayjs/stage';
import { ColorTransform } from '@awayjs/core';
export declare class TextShape {
readonly format: TextFormat;
readonly cacheId: string;
verts: Array<Float32Array>;
uvs: Array<Float32Array>;
shape: Shape;
fntBitmap: BitmapImage2D;
fntColorTransform: ColorTransform;
elements: TriangleElements;
private _length;
get length(): number;
set length(val: number);
get hasUV(): boolean;
constructor(format: TextFormat, cacheId: string);
addChunk(buffer: Float32Array, uvs?: Float32Array): void;
get tall(): Float32Array;
}
//# sourceMappingURL=TextShape.d.ts.map