Property | Type | Description | |
---|---|---|---|
colorTint | ColorRgba | ||
customMat | BatchInfo | ||
offset | int | ||
pixelGrid | bool | ||
rect | Rect | ||
rectMode | UVMode | ||
sharedMat | ContentRef |
Property | Type | Description |
---|
Method | Description | |
---|---|---|
Draw ( IDrawDevice device ) : void | ||
SpriteRenderer ( ) : System | ||
SpriteRenderer ( Rect rect, ContentRef |
Method | Description | |
---|---|---|
OnCopyTo ( Component target, Duality provider ) : void | ||
PrepareVertices ( Duality.Drawing.VertexC1P3T2 &vertices, IDrawDevice device, ColorRgba mainClr, Rect uvRect ) : void | ||
RetrieveDrawTechnique ( ) : Duality.Resources.DrawTechnique | ||
RetrieveMainColor ( ) : ColorRgba | ||
RetrieveMainTex ( ) : |
protected OnCopyTo ( Component target, Duality provider ) : void | ||
target | Component | |
provider | Duality | |
return | void |
protected PrepareVertices ( Duality.Drawing.VertexC1P3T2 &vertices, IDrawDevice device, ColorRgba mainClr, Rect uvRect ) : void | ||
vertices | Duality.Drawing.VertexC1P3T2 | |
device | IDrawDevice | |
mainClr | ColorRgba | |
uvRect | Rect | |
return | void |
protected RetrieveDrawTechnique ( ) : Duality.Resources.DrawTechnique | ||
return | Duality.Resources.DrawTechnique |
protected RetrieveMainTex ( ) : |
||
return |
public SpriteRenderer ( Rect rect, ContentRef |
||
rect | Rect | |
mainMat | ContentRef |
|
return | System |