C# Class UnityEditor.SpriteMetaData

显示文件 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_oe property

Edge-relative alignment of the sprite graphic.

public int alignment
return int

border public_oe property

Edge border size for a sprite (in pixels).

public Vector4 border
return Vector4

name public_oe property

Name of the Sprite.

public string name
return string

pivot public_oe property

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

public Vector2 pivot
return Vector2

rect public_oe property

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

public Rect,UnityEngine rect
return UnityEngine.Rect