Click or drag to resize
LayerBaseAppendFrames Method
Injects a series of Frame objects into this layer, to be drawn behind the layer or in front of it, specifying a color modulation value.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public void AppendFrames(
	int x,
	int y,
	Frame[] frames,
	int color,
	int priority
)

Parameters

x
Type: SystemInt32
Horizontal pixel coordinate of the location to inject the frames
y
Type: SystemInt32
Vertical pixel coordinate of the location to inject the frames
frames
Type: (Default Namespace)Frame
Array of frames to be injected at the specified coordinate
color
Type: SystemInt32
Specifies how the color channels of the injected frames will be affected. If the frames include their own color modulation, they will be merged with this.
priority
Type: SystemInt32
ValueDrawing Order
-1Behind tiles
1In front of tiles
Remarks
Often times only a single frame is injected, but sprites with compound frames may inject multiple frames at once.
See Also