Show / Hide Table of Contents

Class SpriteRect

Inheritance
Object
SpriteRect
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor
Assembly: UnityEditor.dll
Syntax
[Serializable]
public class SpriteRect

Properties

| Improve this Doc View Source

alignment

Declaration
public SpriteAlignment alignment { get; set; }
Property Value
Type Description
SpriteAlignment
| Improve this Doc View Source

border

Declaration
public Vector4 border { get; set; }
Property Value
Type Description
Vector4
| Improve this Doc View Source

name

Declaration
public string name { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

pivot

Declaration
public Vector2 pivot { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

rect

Declaration
public Rect rect { get; set; }
Property Value
Type Description
Rect
| Improve this Doc View Source

spriteID

Declaration
public GUID spriteID { get; set; }
Property Value
Type Description
GUID

Methods

| Improve this Doc View Source

GetSpriteIDFromSerializedProperty(SerializedProperty)

Declaration
public static GUID GetSpriteIDFromSerializedProperty(SerializedProperty sp)
Parameters
Type Name Description
SerializedProperty sp
Returns
Type Description
GUID

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX