Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TexturePackerFrame

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

Hierarchy

  • TexturePackerFrame

Implements

Index

Constructors

Properties

Constructors

constructor

  • 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

idSearch playground for id

id: number

The frame ID

offsetSearch playground for offset

offset: Vector2

The Frames offset

scaleSearch playground for scale

scale: Vector2

The frames Scale

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method