C# Class a.spritestudio.SpritePart

Inheritance: UnityEngine.MonoBehaviour
显示文件 Open project: cfm-art/SpriteStudioPlayerForUGUI Class Usage Examples

Public Methods

Method Description
AddKey ( int frame, AttributeBase attribute ) : void

キーフレームの追加

GetKeyFrames ( ) : a.spritestudio.KeyFrame[]

キーフレームセットの取得

SetCellMap ( int index, int mapIndex ) : void

セルマップの指定

SetFrame ( int frame ) : void

キーフレームの設定

SetKeyFrames ( KeyFrame frames ) : void

キーフレームセットの変更

Setup ( SpriteRoot root, types nodeType, Material material ) : void

初期化

TransformVertices ( Vector2 leftTop, Vector2 rightTop, Vector2 leftBottom, Vector2 rightBottom ) : void

頂点変換

UpdateTexCoordS ( float value ) : void

UV更新

UpdateTexCoordT ( float value ) : void

UV更新

UpdateTexCoordU ( float value ) : void

UV更新

UpdateTexCoordV ( float value ) : void

UV更新

Private Methods

Method Description
CopyTransform ( RectTransform from, RectTransform to ) : void

Transformをコピー

LateUpdate ( ) : void

Transformの更新

SetupVertices ( ) : void

頂点バッファ生成

Start ( ) : void

GOの初期化時

Update ( ) : void

更新

UpdateTransform ( ) : void

Transformの更新

Method Details

AddKey() public method

キーフレームの追加
public AddKey ( int frame, AttributeBase attribute ) : void
frame int
attribute a.spritestudio.attribute.AttributeBase
return void

GetKeyFrames() public method

キーフレームセットの取得
public GetKeyFrames ( ) : a.spritestudio.KeyFrame[]
return a.spritestudio.KeyFrame[]

SetCellMap() public method

セルマップの指定
public SetCellMap ( int index, int mapIndex ) : void
index int
mapIndex int
return void

SetFrame() public method

キーフレームの設定
public SetFrame ( int frame ) : void
frame int
return void

SetKeyFrames() public method

キーフレームセットの変更
public SetKeyFrames ( KeyFrame frames ) : void
frames KeyFrame
return void

Setup() public method

初期化
public Setup ( SpriteRoot root, types nodeType, Material material ) : void
root SpriteRoot
nodeType types
material UnityEngine.Material
return void

TransformVertices() public method

頂点変換
public TransformVertices ( Vector2 leftTop, Vector2 rightTop, Vector2 leftBottom, Vector2 rightBottom ) : void
leftTop UnityEngine.Vector2
rightTop UnityEngine.Vector2
leftBottom UnityEngine.Vector2
rightBottom UnityEngine.Vector2
return void

UpdateTexCoordS() public method

UV更新
public UpdateTexCoordS ( float value ) : void
value float
return void

UpdateTexCoordT() public method

UV更新
public UpdateTexCoordT ( float value ) : void
value float
return void

UpdateTexCoordU() public method

UV更新
public UpdateTexCoordU ( float value ) : void
value float
return void

UpdateTexCoordV() public method

UV更新
public UpdateTexCoordV ( float value ) : void
value float
return void