C# Class a.spritestudio.CellMap

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

Public Methods

Method 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 method

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

CopyTo() public method

コピー
public CopyTo ( CellMap o ) : void
o CellMap
return void

Create() public static method

生成
public static Create ( ) : CellMap
return CellMap

FindCell() public method

セル参照
public FindCell ( string name ) : int
name string
return int

Height() public method

縦幅
public Height ( int index ) : int
index int
return int

Pivot() public method

PIVOTの取得
public Pivot ( int index ) : Vector2
index int
return UnityEngine.Vector2

UV() public method

UV
public UV ( int index ) : Vector4
index int
return UnityEngine.Vector4

Width() public method

横幅
public Width ( int index ) : int
index int
return int