Class SpriteRenderer
Inheritance
SpriteRenderer
Assembly: UnityEngine.dll
Syntax
[RequireComponent(typeof(Transform))]
public sealed class SpriteRenderer : Renderer
Properties
adaptiveModeThreshold
Declaration
public float adaptiveModeThreshold { get; set; }
Property Value
color
Declaration
public Color color { get; set; }
Property Value
drawMode
Declaration
public SpriteDrawMode drawMode { get; set; }
Property Value
flipX
Declaration
public bool flipX { get; set; }
Property Value
flipY
Declaration
public bool flipY { get; set; }
Property Value
maskInteraction
Declaration
public SpriteMaskInteraction maskInteraction { get; set; }
Property Value
size
Declaration
public Vector2 size { get; set; }
Property Value
sprite
Declaration
public Sprite sprite { get; set; }
Property Value
spriteSortPoint
Declaration
public SpriteSortPoint spriteSortPoint { get; set; }
Property Value
tileMode
Declaration
public SpriteTileMode tileMode { get; set; }
Property Value
Extension Methods