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 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
Value | Drawing Order |
---|
-1 | Behind tiles |
1 | In 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