TexturePackerFrame

This is a support class for frame Data on texture packer sets.

Hierarchy

  • TexturePackerFrame

Implements

Index

Constructors

Properties

Constructors

constructor

Find examples in Playground
  • Initializes a texture package frame.

    Parameters

    • id: number

      The numerical frame identifier

    • scale: Vector2

      Scalar Vector2 for UV frame

    • offset: Vector2

      Vector2 for the frame position in UV units.

    Returns TexturePackerFrame

    TexturePackerFrame

Properties

id

Find examples in Playground
id: number

The frame ID

offset

Find examples in Playground
offset: Vector2

The Frames offset

scale

Find examples in Playground
scale: Vector2

The frames Scale

Generated using TypeDoc