C# Class a.spritestudio.CellMap

画像の指定
Inheritance: UnityEngine.ScriptableObject
Afficher le fichier Open project: cfm-art/SpriteStudioPlayerForUGUI Class Usage Examples

Méthodes publiques

Méthode Description
AddCell ( string name, float uv, int size, float pivot ) : void

セルの追加

CopyTo ( CellMap o ) : void

コピー

Create ( ) : CellMap

生成

FindCell ( string name ) : int

セル参照

Height ( int index ) : int

縦幅

Pivot ( int index ) : Vector2

PIVOTの取得

UV ( int index ) : Vector4

UV

Width ( int index ) : int

横幅

Method Details

AddCell() public méthode

セルの追加
public AddCell ( string name, float uv, int size, float pivot ) : void
name string
uv float
size int
pivot float
Résultat void

CopyTo() public méthode

コピー
public CopyTo ( CellMap o ) : void
o CellMap
Résultat void

Create() public static méthode

生成
public static Create ( ) : CellMap
Résultat CellMap

FindCell() public méthode

セル参照
public FindCell ( string name ) : int
name string
Résultat int

Height() public méthode

縦幅
public Height ( int index ) : int
index int
Résultat int

Pivot() public méthode

PIVOTの取得
public Pivot ( int index ) : Vector2
index int
Résultat UnityEngine.Vector2

UV() public méthode

UV
public UV ( int index ) : Vector4
index int
Résultat UnityEngine.Vector4

Width() public méthode

横幅
public Width ( int index ) : int
index int
Résultat int