AssetLayer
Index
Properties
- AllowColorize
- AllowModuleTypes
- AllowPose
- AllowTypes
- Alpha
- Asset
- BlendingMode
- ColorGroup
- ColorIndex
- ColorSuffix
- CopyLayerColor
- CreateLayerTypes
- DrawingLeft
- DrawingTop
- FixedPosition
- GroupAlpha
- HasImage
- HasType
- HideAs
- HideColoring
- HideForAttribute
- HideForPose
- InheritColor
- LockLayer
- MaxOpacity
- MinOpacity
- MirrorExpression
- ModuleType
- Name
- Opacity
- ParentGroupName
- PoseMapping
- Priority
- ShowForAttribute
- Visibility
Properties
readonlyAllowColorize
whether or not this layer can be colored
optionalreadonlyAllowModuleTypes
optionalreadonlyAllowPose
readonlyAllowTypes
A record mapping stringified PartialType values to a set of unique IDs.
readonlyAlpha
readonlyAsset
The asset that this layer belongs to
readonlyBlendingMode
readonlyColorGroup
specifies the name of a color group that this layer belongs to. Any layers within the same color group can be colored together via the item color UI
readonlyColorIndex
The coloring index for this layer
readonlyColorSuffix
readonlyCopyLayerColor
if not null, specifies that this layer should always copy the color of the named layer
readonlyCreateLayerTypes
readonlyDrawingLeft
readonlyDrawingTop
optionalreadonlyFixedPosition
That layer is drawing at a fixed Y position
optionalreadonlyGroupAlpha
Any group-specific alpha masks that should be applied when drawing the layer. Only available on layers that have been created prior to drawing
readonlyHasImage
optionalreadonlyHasType
optionalreadonlyHideAs
readonlyHideColoring
whether or not this layer can be colored in the coloring UI
readonlyHideForAttribute
optionalreadonlyHideForPose
readonlyInheritColor
readonlyLockLayer
readonlyMaxOpacity
readonlyMinOpacity
optionalreadonlyMirrorExpression
optionalreadonlyModuleType
readonlyName
The name of the layer - may be null if the asset only contains a single default layer
readonlyOpacity
readonlyParentGroupName
The name of the parent group for this layer. If null, the layer has no parent group. If undefined, the layer inherits its parent group from it's asset/group.
readonlyPoseMapping
An array of objects mapping poses to other poses to determine their draw folder
readonlyPriority
The drawing priority of this layer. Inherited from the parent asset/group if not specified in the layer definition.
readonlyShowForAttribute
readonlyVisibility
Used along with a hook to make layers of an asset disappear in some cases.
An object defining a drawable layer of an asset