PXC Documentation

PXC Home

Splice Spritesheet

pre 1.18

Cut up spritesheet into animation or image array.

Node Data

Display name

Splice Spritesheet

Internal name

Node_Image_Sheet

Inheritances

Node_Image_Sheet

Inputs

Sprite

surface

Surface In

vec2

Sprite Size

ipadding

Padding

int

Row

Sheet

vec2

Amount

trigger

Auto Fill

enum

Main Axis

vec2

Offset

vec2

Spacing

Output

enum

Output

float

Animation Speed

trigger

Sync Animation

bool

Flatten Array

Filter

bool

Filter Empty Output

enum

Filtered Pixel

color

Filtered Color

Outputs

surface

Surface Out

atlas

Atlas Data

Attributes

Color Depth

Splice spritesheet into animation or surface array.



Properties


Sprite
Sprite SizeDimension of output surface.
PaddingAdd empty space around the output sprite.
Sheet
AmountAmount of sprite in the sprite sheet (in column/row grid).
Main AxisThe direction of the spritesheet grid (left-right or up-down). (does not impact the shape of the grid)
OffsetThe (top-left) position of the first sprite.
SpacingSpacing between each grid cell.
Output
OutputWhether to output sprite as animation or surface array.
Animation Speed(for animation output) Animation speed.
Flatten ArrayIf input array of spritesheets with surface array output, whether to combine all output array to 1D array or create a nested 2D array.
Filter
Filter Empty OutputRemove empty sprite.
Filtered PixelSet condition for an empty sprite (Transparent or Solid color).



Related Links