32 lines
526 B
C#
32 lines
526 B
C#
|
|
namespace Prism
|
|
{
|
|
public class SpriteRenderer : Component
|
|
{
|
|
|
|
/* public Texture2D Texture
|
|
{
|
|
get
|
|
{
|
|
Texture2D tex;
|
|
GetTexture_Native(Entity.EntityID, Entity.SceneID, out tex);
|
|
return tex;
|
|
}
|
|
set { }
|
|
}
|
|
|
|
|
|
public Vec4 Color
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public float TilingFactor
|
|
{
|
|
get;
|
|
set;
|
|
}*/
|
|
|
|
}
|
|
} |