Click or drag to resize
LayerBase.InjectFrames 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
Syntax
C#
public void InjectFrames(
	int x,
	int y,
	Frame[] frames,
	int color
)

Parameters

x
Type: System.Int32
Horizontal pixel coordinate of the location to inject the frames
y
Type: System.Int32
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: System.Int32
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.
Remarks
Often times only a single frame is injected, but sprites with compound frames may inject multiple frames at once.
See Also