Click or drag to resize
SpriteSheetAddStep Method
Define a step in the spritesheet.

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void AddStep(
	Vector2 position,
	Vector2 size,
	string identifier = null
)

Parameters

position
Type: Vector2
Position in spritesheet texture, in percents (eg values range from 0 to 1).
size
Type: Vector2
Size in spritesheet texture, in percents (eg values range from 0 to 1).
identifier (Optional)
Type: SystemString
Optional step string identifier.
See Also