C# Class UnityEditor.SpriteMetaData

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
alignment int
border Vector4
name string
pivot Vector2
rect UnityEngine.Rect

Property Details

alignment public property

Edge-relative alignment of the sprite graphic.

public int alignment
return int

border public property

Edge border size for a sprite (in pixels).

public Vector4 border
return Vector4

name public property

Name of the Sprite.

public string name
return string

pivot public property

The pivot point of the Sprite, relative to its bounding rectangle.

public Vector2 pivot
return Vector2

rect public property

Bounding rectangle of the sprite's graphic within the atlas image.

public Rect,UnityEngine rect
return UnityEngine.Rect