C# Class RedBlueGames.Tools.SpriteSlicingOptions

Afficher le fichier Open project: redbluegames/rb-unity-tools Class Usage Examples

Méthodes publiques

Свойство Type Description
CellSize UnityEngine.Vector2
CustomPivot UnityEngine.Vector2
Frames int
GridSlicing GridSlicingMethod
ImportMode SpriteImportMode
OverridePivot bool
Pivot SpriteAlignment

Méthodes publiques

Méthode Description
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

Method Details

FromSerializableString() public static méthode

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

IsValid() public méthode

Determines whether the options have been set up correctly.
public IsValid ( ) : bool
Résultat bool

ToSerializableString() public méthode

Converts the Options to a string that serializes all data
public ToSerializableString ( ) : string
Résultat string

ToString() public méthode

Converts the object to a displayable string
public ToString ( ) : string
Résultat string

Property Details

CellSize public_oe property

public Vector2,UnityEngine CellSize
Résultat UnityEngine.Vector2

CustomPivot public_oe property

public Vector2,UnityEngine CustomPivot
Résultat UnityEngine.Vector2

Frames public_oe property

public int Frames
Résultat int

GridSlicing public_oe property

public GridSlicingMethod GridSlicing
Résultat GridSlicingMethod

ImportMode public_oe property

public SpriteImportMode ImportMode
Résultat SpriteImportMode

OverridePivot public_oe property

public bool OverridePivot
Résultat bool

Pivot public_oe property

public SpriteAlignment Pivot
Résultat SpriteAlignment