Click or drag to resize
SpriteEntity Constructor (SpriteSheet, MaterialAPI)
Create the sprite entity.

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public SpriteEntity(
	SpriteSheet spritesheet,
	MaterialAPI material
)

Parameters

spritesheet
Type: GeonBit.Core.GraphicsSpriteSheet
Spritesheet for this sprite.
material
Type: GeonBit.Core.Graphics.MaterialsMaterialAPI
Material to use for this sprite.
See Also