C# 클래스 RedBlueGames.Tools.SpriteSlicingOptions

파일 보기 프로젝트 열기: redbluegames/rb-unity-tools 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CellSize UnityEngine.Vector2
CustomPivot UnityEngine.Vector2
Frames int
GridSlicing GridSlicingMethod
ImportMode SpriteImportMode
OverridePivot bool
Pivot SpriteAlignment

공개 메소드들

메소드 설명
FromSerializableString ( string serializedOptions ) : SpriteSlicingOptions

Deserializes the options from a serialized string

IsValid ( ) : bool

Determines whether the options have been set up correctly.

ToSerializableString ( ) : string

Converts the Options to a string that serializes all data

ToString ( ) : string

Converts the object to a displayable string

메소드 상세

FromSerializableString() 공개 정적인 메소드

Deserializes the options from a serialized string
public static FromSerializableString ( string serializedOptions ) : SpriteSlicingOptions
serializedOptions string String that represents serialized SlicingOptions.
리턴 SpriteSlicingOptions

IsValid() 공개 메소드

Determines whether the options have been set up correctly.
public IsValid ( ) : bool
리턴 bool

ToSerializableString() 공개 메소드

Converts the Options to a string that serializes all data
public ToSerializableString ( ) : string
리턴 string

ToString() 공개 메소드

Converts the object to a displayable string
public ToString ( ) : string
리턴 string

프로퍼티 상세

CellSize 공개적으로 프로퍼티

public Vector2,UnityEngine CellSize
리턴 UnityEngine.Vector2

CustomPivot 공개적으로 프로퍼티

public Vector2,UnityEngine CustomPivot
리턴 UnityEngine.Vector2

Frames 공개적으로 프로퍼티

public int Frames
리턴 int

GridSlicing 공개적으로 프로퍼티

public GridSlicingMethod GridSlicing
리턴 GridSlicingMethod

ImportMode 공개적으로 프로퍼티

public SpriteImportMode ImportMode
리턴 SpriteImportMode

OverridePivot 공개적으로 프로퍼티

public bool OverridePivot
리턴 bool

Pivot 공개적으로 프로퍼티

public SpriteAlignment Pivot
리턴 SpriteAlignment