TilePicOption

TilePicOption class

Represents tile picture as texture.

class TilePicOption;

Constructors

NameDescription
constructor()Default Constructor.

Properties

PropertyTypeDescription
offsetXnumberGets or sets the X offset for tiling picture.
offsetYnumberGets or sets the Y offset for tiling picture.
scaleXnumberGets or sets the X scale for tiling picture.
scaleYnumberGets or sets the Y scale for tiling picture.
mirrorTypeMirrorTypeGets or sets the mirror type for tiling.
alignmentTypeRectangleAlignmentTypeGets or sets the alignment for tiling.

constructor()

Default Constructor.

constructor();

offsetX

Gets or sets the X offset for tiling picture.

offsetX : number;

offsetY

Gets or sets the Y offset for tiling picture.

offsetY : number;

scaleX

Gets or sets the X scale for tiling picture.

scaleX : number;

scaleY

Gets or sets the Y scale for tiling picture.

scaleY : number;

mirrorType

Gets or sets the mirror type for tiling.

mirrorType : MirrorType;

alignmentType

Gets or sets the alignment for tiling.

alignmentType : RectangleAlignmentType;