GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.Core.Graphics
SpriteEntity Class
SpriteEntity Constructor
SpriteEntity Constructor (SpriteSheet, MaterialAPI)
SpriteEntity Constructor (SpriteSheet, Texture2D, Boolean)
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#
Copy
public
SpriteEntity
(
SpriteSheet
spritesheet
,
MaterialAPI
material
)
Parameters
spritesheet
Type:
GeonBit.Core.Graphics
SpriteSheet
Spritesheet for this sprite.
material
Type:
GeonBit.Core.Graphics.Materials
MaterialAPI
Material to use for this sprite.
See Also
Reference
SpriteEntity Class
SpriteEntity Overload
GeonBit.Core.Graphics Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com