UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

18 lines 522 B
/** * This is a support class for frame Data on texture packer sets. */ export class TexturePackerFrame { /** * Initializes a texture package frame. * @param id The numerical frame identifier * @param scale Scalar Vector2 for UV frame * @param offset Vector2 for the frame position in UV units. * @returns TexturePackerFrame */ constructor(id, scale, offset) { this.id = id; this.scale = scale; this.offset = offset; } } //# sourceMappingURL=frame.js.map