Click or drag to resize
GeneralRulesSetCategorySpriteState Method
Sets the current state of a sprite based on a category and index into the category.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void SetCategorySpriteState(
	SpriteCollection Category,
	int SpriteIndex,
	int State
)

Parameters

Category
Type: (Default Namespace)SpriteCollection
Category containing the sprite to be affected
SpriteIndex
Type: SystemInt32
Zero-based index into the category, specifying a sprite
State
Type: SystemInt32
Numeric value referring to a state of the specified sprite.
See Also