Skip to main content

TopLeft

Types for representing the left/top coordinate of a target draw rect.

Index

Type Aliases

Type Aliases

Data

Data: Readonly<Partial<Record<AssetPoseName, number>> & Record<PoseTypeDefault, number>>

The parsed top/left coordinate translation. Will include a default value under PoseType.DEFAULT and may include pose-specific values under their respective pose names.

Definition

Definition: number | Partial<Record<AssetPoseName | PoseTypeDefault, number>>

The unparsed top/left coordinate translation. Can be either a number or, if one wants to specify pose-specific translations, a record mapping pose names to numbers. The PoseType.DEFAULT key can be specified in the record-notation as a default pose-agnostic value.

Page Options