readonly int DynamicSprite.Graphic;
Gets the sprite slot number in which this dynamic sprite is stored.
This value can then be passed to other functions and properties, such as
Button.NormalGraphic.
Example:
DynamicSprite* ds = DynamicSprite.CreateFromScreenShot(50, 50);
DrawingSurface *surface = Room.GetDrawingSurfaceForBackground();
surface.DrawImage(100, 100, ds.Graphic);
surface.Release();
ds.Delete();
takes a screen shot, and draws it onto the background scene at (100,100).
See Also: DynamicSprite.CreateFromScreenShot,
DynamicSprite.Delete
|