Logo
公開メンバ関数 | 公開変数類 | 全メンバ一覧
SharpKmyGfx.MaterialInstance クラス

公開メンバ関数

 MaterialInstance (IntPtr obj)
 
 MaterialInstance (Material mtl)
 
void Dispose ()
 
void Dispose (bool disposing)
 
void setInteger (string name, int v)
 
void setFloat (string name, float v)
 
void setVector2 (string name, SharpKmyMath.Vector2 v)
 
void setVector3 (string name, SharpKmyMath.Vector3 v)
 
void setColor (string name, SharpKmyGfx.Color v)
 
void updateAnimation (float delta)
 
Material getBaseMaterial ()
 

公開変数類

IntPtr _native = IntPtr.Zero
 

構築子と解体子

◆ MaterialInstance() [1/2]

SharpKmyGfx.MaterialInstance.MaterialInstance ( IntPtr  obj)

◆ MaterialInstance() [2/2]

SharpKmyGfx.MaterialInstance.MaterialInstance ( Material  mtl)

メソッド詳解

◆ Dispose() [1/2]

void SharpKmyGfx.MaterialInstance.Dispose ( )

◆ Dispose() [2/2]

void SharpKmyGfx.MaterialInstance.Dispose ( bool  disposing)

◆ getBaseMaterial()

Material SharpKmyGfx.MaterialInstance.getBaseMaterial ( )

◆ setColor()

void SharpKmyGfx.MaterialInstance.setColor ( string  name,
SharpKmyGfx.Color  v 
)

◆ setFloat()

void SharpKmyGfx.MaterialInstance.setFloat ( string  name,
float  v 
)

◆ setInteger()

void SharpKmyGfx.MaterialInstance.setInteger ( string  name,
int  v 
)

◆ setVector2()

void SharpKmyGfx.MaterialInstance.setVector2 ( string  name,
SharpKmyMath.Vector2  v 
)

◆ setVector3()

void SharpKmyGfx.MaterialInstance.setVector3 ( string  name,
SharpKmyMath.Vector3  v 
)

◆ updateAnimation()

void SharpKmyGfx.MaterialInstance.updateAnimation ( float  delta)

メンバ詳解

◆ _native

IntPtr SharpKmyGfx.MaterialInstance._native = IntPtr.Zero