Skip to main content

Alpha

Types for objects defining a group of alpha masks to be applied when drawing an asset layer.

Index

Interfaces

Interfaces

Data

Data:

The parsed alpha masks.

readonlyAllowTypes

AllowTypes: Data

A list of the extended types that the given alpha masks should be applied to. If empty or not present, the alpha masks will be applied regardless of the extended type.

optionalreadonlyGroup

Group?: readonly AssetGroupName[]

A list of the group names that the given alpha masks should be applied to. If empty or not present, the alpha masks will be applied to every layer underneath the present one.

readonlyMasks

Masks: readonly RectTuple[]

A list of alpha masks. Consists of 4-tuples defining the top & left coordinate of a rectangle followed by the rectangle's width & height

readonlyPose

Pose: Readonly<Partial<Record<keyof AssetPoseMap, readonly AssetPoseName[]>>>

A record mapping pose categories to a list of the poses that the given alpha masks should be applied to. If empty or not present, the alpha masks will be applied regardless of character pose.

Definition

Definition:

The unparsed alpha masks.

optionalAllowTypes

AllowTypes?: Definition

A list of the extended types that the given alpha masks should be applied to. If empty or not present, the alpha masks will be applied regardless of the extended type.

optionalGroup

Group?: AssetGroupName[]

Masks

Masks: RectTuple[]

optionalPose

Pose?: AssetPoseName[]

A list of the poses that the given alpha masks should be applied to. If empty or not present, the alpha masks will be applied regardless of character pose.

Page Options