Class SpriteRect
Assembly: UnityEditor.dll
Syntax
[Serializable]
public class SpriteRect
Properties
|
Improve this Doc
View Source
alignment
Declaration
public SpriteAlignment alignment { get; set; }
Property Value
|
Improve this Doc
View Source
border
Declaration
public Vector4 border { get; set; }
Property Value
|
Improve this Doc
View Source
name
Declaration
public string name { get; set; }
Property Value
|
Improve this Doc
View Source
pivot
Declaration
public Vector2 pivot { get; set; }
Property Value
|
Improve this Doc
View Source
rect
Declaration
public Rect rect { get; set; }
Property Value
|
Improve this Doc
View Source
spriteID
Declaration
public GUID spriteID { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetSpriteIDFromSerializedProperty(SerializedProperty)
Declaration
public static GUID GetSpriteIDFromSerializedProperty(SerializedProperty sp)
Parameters
Returns
Extension Methods