LayerBaseInjectFrames Method (Int32, Int32, Frame, Int32) |
Injects a series of
Frame objects into this layer, to be interleaved
with the tiles on the layer, specifying a color modulation value.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntaxpublic void InjectFrames(
int x,
int y,
Frame[] frames,
int color
)
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.
RemarksOften times only a single frame is injected, but sprites with compound frames
may inject multiple frames at once.
See Also