Skip to content

PixelCapsule โ€‹

PixelCapsule nodes use the pixel grid as source data that can be modified by properties without changing the source. The source data is loaded or generated and can't be manipulated on a per pixel basis. To enable pixel editing, PixelCapsule nodes must be converted to PixelLayer nodes using FxPixelCapsule.Convert.

New Properties โ€‹

PropertyTypeDefaultAccessDescription
gridFlip2b(false, false)๐ŸŸฉ๐ŸŸฅEnable per axis grid flip
gridRotate1i0๐ŸŸฉ๐ŸŸฅGrid rotation in degrees
gridScale2f(1.0, 1.0)๐ŸŸฉ๐ŸŸฅGrid scaling
Details

Type
1b: boolean
1c: color (integer)
1i: integer
1f: float
1s: string
2b: 2-component boolean vector
2i: 2-component integer vector
2f: 2-component float vector
3b: 3-component boolean vector
3i: 3-component integer vector
3f: 3-component float vector

Access
๐ŸŸฉ : Property value can be read with FxNode.Get
๐ŸŸฅ : Property value can be changed with FxNode.Set
โŒ : Property value is read-only and can't be changed
โ–ถ๏ธ : Property can be animated with FxAnimation

Inherited Properties โ€‹

From Node โ€‹

id layer order parent selected tag type typeName visible

From Object2D โ€‹

position

From PixelObject โ€‹

overwriteheight heightOffset size

See Also โ€‹

FxNode, FxObject2D, FxPixelCapsule