Click or drag to resize
LayerBase.InjectFrames Method (Int32, Int32,Frame[])
Injects a series of Frame objects into this layer, to be interleaved with the tiles on the layer.

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

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
Remarks
Often times only a single frame is injected, but sprites with compound frames may inject multiple frames at once.
See Also