Logo
公開メンバ関数 | プロパティ | 全メンバ一覧
Yukar.Engine.PercentGraph クラス

公開メンバ関数

 PercentGraph (Vector2 position, Vector2 size)
 コンストラクタ [詳解]
 
void RegisterParameter (float totalValue, List< float > elements, List< Color > colors=null)
 表示に必要なパラメーターの追加 [詳解]
 
void Draw ()
 描画する [詳解]
 

プロパティ

Vector2 Position [get, set]
 表示位置 [詳解]
 

構築子と解体子

◆ PercentGraph()

Yukar.Engine.PercentGraph.PercentGraph ( Vector2  position,
Vector2  size 
)

コンストラクタ

引数
position位置
size大きさ

メソッド詳解

◆ Draw()

void Yukar.Engine.PercentGraph.Draw ( )

描画する

◆ RegisterParameter()

void Yukar.Engine.PercentGraph.RegisterParameter ( float  totalValue,
List< float >  elements,
List< Color >  colors = null 
)

表示に必要なパラメーターの追加

引数
totalValue合計値
elements要素
colors使いたい色

プロパティ詳解

◆ Position

Vector2 Yukar.Engine.PercentGraph.Position
getset

表示位置