Logo
公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 全メンバ一覧
SharpKmyGfx.Material クラス
SharpKmyGfx.Material の継承関係図

公開メンバ関数

 Material (IntPtr ptr, bool addref)
 
 Material (bool skinned, string shadername, Guid guid)
 
 Material (string defimage, Guid guid, string name)
 
void Dispose ()
 
void Dispose (bool disposing)
 
string getName ()
 
void setName (string name)
 
Shader getShader ()
 
void setShader (string shadername)
 
void setParameterF (string slotname, float x, float y, float z, float w)
 
void setParameterI (string slotname, int x, int y, int z, int w)
 
void setParameterB (string slotname, bool b)
 
void setTextureFileName (string slotname, string texfilename)
 
void setTexture (string slotname, Texture tex)
 
Texture getTexture (string slotname)
 
Texture getTexture (int index)
 
int getEnumCount (string slotname)
 
string getEnumString (string slotname, int index)
 
string getShaderName ()
 
bool getSlotName (int idx, ref UNIFORMPARAMTYPE paramtype, ref bool hideInEditor, out string name)
 
UNIFORMPARAMTYPE getSlotType (string name)
 
float getParameterF (string slotname, int channel)
 
int getParameterI (string slotname, int channel)
 
float getParameterMin (string slotname, int channel)
 
float getParameterMax (string slotname, int channel)
 
bool getParameterB (string slotname)
 
string getTextureFileName (string slotname)
 
float getUScrollSpeed ()
 
float getVScrollSpeed ()
 
void setUScrollSpeed (float v)
 
void setVScrollSpeed (float v)
 
UInt32 getUDiv ()
 
UInt32 getVDiv ()
 
void setUDiv (UInt32 v)
 
void setVDiv (UInt32 v)
 
float getUVStepInterval ()
 
void setUVStepInterval (float v)
 
bool getUVStepUseModelUVOrigin ()
 
void setUVStepUseModelUVOrigin (bool v)
 
UInt32 getUVStepFrameCount ()
 
void setUVStepFrameCount (UInt32 v)
 
void enableUScrollAnim (bool flg)
 
void enableVScrollAnim (bool flg)
 
void enableUVStepAnim (bool flg)
 
bool isEnableUScrollAnim ()
 
bool isEnableVScrollAnim ()
 
bool isEnableUVStepAnim ()
 
void enableEmissiveBlink (bool flg)
 
bool isEnableEmissiveBlink ()
 
void setEmissiveBlinkSpeed (float v)
 
float getEmissiveBlinkSpeed ()
 
void enableEmissiveLinkBuildingLight (bool flg)
 
bool isEmissiveLinkBuildingLight ()
 
void setCastShadow (bool flg)
 
bool getCastShadow ()
 
bool isEnableSetSortIndex ()
 
int getSortIndex ()
 
void setSortIndex (int val)
 
void setUVOffset (SharpKmyMath.Vector2 v)
 
SharpKmyMath.Vector2 getUVOffset ()
 
void setUVScale (SharpKmyMath.Vector2 v)
 
SharpKmyMath.Vector2 getUVScale ()
 
CullType getCullType ()
 
void setCullType (CULLTYPE t)
 
void setDrawOutlineEnable (bool flg)
 
bool getDrawOutlineEnable ()
 
void setOutlineWidth (float w)
 
float getOutlineWidth ()
 
void setOutlineColor (SharpKmyGfx.Color color)
 
SharpKmyGfx.Color getOutlineColor ()
 
void setOverrideOutlineSetting (bool flg)
 
bool getOverrideOutlineSetting ()
 
void setDistanceFadeEnable (bool flg)
 
bool getDistanceFadeEnable ()
 
void setReceiveDecal (bool flg)
 
bool getReceiveDecal ()
 
bool isEnableSetCastShadow ()
 
string getDefText ()
 
void setDefByText (string text)
 
void addRef ()
 
void removeRef ()
 

静的公開メンバ関数

static int getMaterialTextureNumMax ()
 
static bool getCommonDrawOutlineEnable ()
 
static void setCommonDrawOutlineEnable (bool flg)
 
static float getCommonOutlineWidth ()
 
static void setCommonOutlineWidth (float w)
 
static SharpKmyGfx.Color getCommonOutlineColor ()
 
static void setCommonOutlineColor (SharpKmyGfx.Color color)
 

公開変数類

IntPtr _native = IntPtr.Zero
 

構築子と解体子

◆ Material() [1/3]

SharpKmyGfx.Material.Material ( IntPtr  ptr,
bool  addref 
)

◆ Material() [2/3]

SharpKmyGfx.Material.Material ( bool  skinned,
string  shadername,
Guid  guid 
)

◆ Material() [3/3]

SharpKmyGfx.Material.Material ( string  defimage,
Guid  guid,
string  name 
)

メソッド詳解

◆ addRef()

void SharpKmyGfx.Material.addRef ( )

◆ Dispose() [1/2]

void SharpKmyGfx.Material.Dispose ( )

◆ Dispose() [2/2]

void SharpKmyGfx.Material.Dispose ( bool  disposing)

◆ enableEmissiveBlink()

void SharpKmyGfx.Material.enableEmissiveBlink ( bool  flg)

◆ enableEmissiveLinkBuildingLight()

void SharpKmyGfx.Material.enableEmissiveLinkBuildingLight ( bool  flg)

◆ enableUScrollAnim()

void SharpKmyGfx.Material.enableUScrollAnim ( bool  flg)

◆ enableUVStepAnim()

void SharpKmyGfx.Material.enableUVStepAnim ( bool  flg)

◆ enableVScrollAnim()

void SharpKmyGfx.Material.enableVScrollAnim ( bool  flg)

◆ getCastShadow()

bool SharpKmyGfx.Material.getCastShadow ( )

◆ getCommonDrawOutlineEnable()

static bool SharpKmyGfx.Material.getCommonDrawOutlineEnable ( )
static

◆ getCommonOutlineColor()

static SharpKmyGfx.Color SharpKmyGfx.Material.getCommonOutlineColor ( )
static

◆ getCommonOutlineWidth()

static float SharpKmyGfx.Material.getCommonOutlineWidth ( )
static

◆ getCullType()

CullType SharpKmyGfx.Material.getCullType ( )

◆ getDefText()

string SharpKmyGfx.Material.getDefText ( )

◆ getDistanceFadeEnable()

bool SharpKmyGfx.Material.getDistanceFadeEnable ( )

◆ getDrawOutlineEnable()

bool SharpKmyGfx.Material.getDrawOutlineEnable ( )

◆ getEmissiveBlinkSpeed()

float SharpKmyGfx.Material.getEmissiveBlinkSpeed ( )

◆ getEnumCount()

int SharpKmyGfx.Material.getEnumCount ( string  slotname)

◆ getEnumString()

string SharpKmyGfx.Material.getEnumString ( string  slotname,
int  index 
)

◆ getMaterialTextureNumMax()

static int SharpKmyGfx.Material.getMaterialTextureNumMax ( )
static

◆ getName()

string SharpKmyGfx.Material.getName ( )

◆ getOutlineColor()

SharpKmyGfx.Color SharpKmyGfx.Material.getOutlineColor ( )

◆ getOutlineWidth()

float SharpKmyGfx.Material.getOutlineWidth ( )

◆ getOverrideOutlineSetting()

bool SharpKmyGfx.Material.getOverrideOutlineSetting ( )

◆ getParameterB()

bool SharpKmyGfx.Material.getParameterB ( string  slotname)

◆ getParameterF()

float SharpKmyGfx.Material.getParameterF ( string  slotname,
int  channel 
)

◆ getParameterI()

int SharpKmyGfx.Material.getParameterI ( string  slotname,
int  channel 
)

◆ getParameterMax()

float SharpKmyGfx.Material.getParameterMax ( string  slotname,
int  channel 
)

◆ getParameterMin()

float SharpKmyGfx.Material.getParameterMin ( string  slotname,
int  channel 
)

◆ getReceiveDecal()

bool SharpKmyGfx.Material.getReceiveDecal ( )

◆ getShader()

Shader SharpKmyGfx.Material.getShader ( )

◆ getShaderName()

string SharpKmyGfx.Material.getShaderName ( )

◆ getSlotName()

bool SharpKmyGfx.Material.getSlotName ( int  idx,
ref UNIFORMPARAMTYPE  paramtype,
ref bool  hideInEditor,
out string  name 
)

◆ getSlotType()

UNIFORMPARAMTYPE SharpKmyGfx.Material.getSlotType ( string  name)

◆ getSortIndex()

int SharpKmyGfx.Material.getSortIndex ( )

◆ getTexture() [1/2]

Texture SharpKmyGfx.Material.getTexture ( int  index)

◆ getTexture() [2/2]

Texture SharpKmyGfx.Material.getTexture ( string  slotname)

◆ getTextureFileName()

string SharpKmyGfx.Material.getTextureFileName ( string  slotname)

◆ getUDiv()

UInt32 SharpKmyGfx.Material.getUDiv ( )

◆ getUScrollSpeed()

float SharpKmyGfx.Material.getUScrollSpeed ( )

◆ getUVOffset()

SharpKmyMath.Vector2 SharpKmyGfx.Material.getUVOffset ( )

◆ getUVScale()

SharpKmyMath.Vector2 SharpKmyGfx.Material.getUVScale ( )

◆ getUVStepFrameCount()

UInt32 SharpKmyGfx.Material.getUVStepFrameCount ( )

◆ getUVStepInterval()

float SharpKmyGfx.Material.getUVStepInterval ( )

◆ getUVStepUseModelUVOrigin()

bool SharpKmyGfx.Material.getUVStepUseModelUVOrigin ( )

◆ getVDiv()

UInt32 SharpKmyGfx.Material.getVDiv ( )

◆ getVScrollSpeed()

float SharpKmyGfx.Material.getVScrollSpeed ( )

◆ isEmissiveLinkBuildingLight()

bool SharpKmyGfx.Material.isEmissiveLinkBuildingLight ( )

◆ isEnableEmissiveBlink()

bool SharpKmyGfx.Material.isEnableEmissiveBlink ( )

◆ isEnableSetCastShadow()

bool SharpKmyGfx.Material.isEnableSetCastShadow ( )

◆ isEnableSetSortIndex()

bool SharpKmyGfx.Material.isEnableSetSortIndex ( )

◆ isEnableUScrollAnim()

bool SharpKmyGfx.Material.isEnableUScrollAnim ( )

◆ isEnableUVStepAnim()

bool SharpKmyGfx.Material.isEnableUVStepAnim ( )

◆ isEnableVScrollAnim()

bool SharpKmyGfx.Material.isEnableVScrollAnim ( )

◆ removeRef()

void SharpKmyGfx.Material.removeRef ( )

◆ setCastShadow()

void SharpKmyGfx.Material.setCastShadow ( bool  flg)

◆ setCommonDrawOutlineEnable()

static void SharpKmyGfx.Material.setCommonDrawOutlineEnable ( bool  flg)
static

◆ setCommonOutlineColor()

static void SharpKmyGfx.Material.setCommonOutlineColor ( SharpKmyGfx.Color  color)
static

◆ setCommonOutlineWidth()

static void SharpKmyGfx.Material.setCommonOutlineWidth ( float  w)
static

◆ setCullType()

void SharpKmyGfx.Material.setCullType ( CULLTYPE  t)

◆ setDefByText()

void SharpKmyGfx.Material.setDefByText ( string  text)

◆ setDistanceFadeEnable()

void SharpKmyGfx.Material.setDistanceFadeEnable ( bool  flg)

◆ setDrawOutlineEnable()

void SharpKmyGfx.Material.setDrawOutlineEnable ( bool  flg)

◆ setEmissiveBlinkSpeed()

void SharpKmyGfx.Material.setEmissiveBlinkSpeed ( float  v)

◆ setName()

void SharpKmyGfx.Material.setName ( string  name)

◆ setOutlineColor()

void SharpKmyGfx.Material.setOutlineColor ( SharpKmyGfx.Color  color)

◆ setOutlineWidth()

void SharpKmyGfx.Material.setOutlineWidth ( float  w)

◆ setOverrideOutlineSetting()

void SharpKmyGfx.Material.setOverrideOutlineSetting ( bool  flg)

◆ setParameterB()

void SharpKmyGfx.Material.setParameterB ( string  slotname,
bool  b 
)

◆ setParameterF()

void SharpKmyGfx.Material.setParameterF ( string  slotname,
float  x,
float  y,
float  z,
float  w 
)

◆ setParameterI()

void SharpKmyGfx.Material.setParameterI ( string  slotname,
int  x,
int  y,
int  z,
int  w 
)

◆ setReceiveDecal()

void SharpKmyGfx.Material.setReceiveDecal ( bool  flg)

◆ setShader()

void SharpKmyGfx.Material.setShader ( string  shadername)

◆ setSortIndex()

void SharpKmyGfx.Material.setSortIndex ( int  val)

◆ setTexture()

void SharpKmyGfx.Material.setTexture ( string  slotname,
Texture  tex 
)

◆ setTextureFileName()

void SharpKmyGfx.Material.setTextureFileName ( string  slotname,
string  texfilename 
)

◆ setUDiv()

void SharpKmyGfx.Material.setUDiv ( UInt32  v)

◆ setUScrollSpeed()

void SharpKmyGfx.Material.setUScrollSpeed ( float  v)

◆ setUVOffset()

void SharpKmyGfx.Material.setUVOffset ( SharpKmyMath.Vector2  v)

◆ setUVScale()

void SharpKmyGfx.Material.setUVScale ( SharpKmyMath.Vector2  v)

◆ setUVStepFrameCount()

void SharpKmyGfx.Material.setUVStepFrameCount ( UInt32  v)

◆ setUVStepInterval()

void SharpKmyGfx.Material.setUVStepInterval ( float  v)

◆ setUVStepUseModelUVOrigin()

void SharpKmyGfx.Material.setUVStepUseModelUVOrigin ( bool  v)

◆ setVDiv()

void SharpKmyGfx.Material.setVDiv ( UInt32  v)

◆ setVScrollSpeed()

void SharpKmyGfx.Material.setVScrollSpeed ( float  v)

メンバ詳解

◆ _native

IntPtr SharpKmyGfx.Material._native = IntPtr.Zero