Public Member Functions | |
| Shader | GetShader () |
| UInt64 | GetShaderFlags () |
| void | SetShaderFlags (UInt64 flagEntry) |
| void | SetMeshVectorArgument (float x, float y, float z, float w) |
| void | SetTexture (Material.MBTextureType textureType, Texture texture) |
| void | SetTextureAtSlot (int textureSlot, Texture texture) |
| void | SetAreaMapScale (float scale) |
| void | SetEnableSkinning (bool enable) |
| bool | UsingSkinning () |
| Texture | GetTexture (Material.MBTextureType textureType) |
| Texture | GetTextureWithSlot (int textureSlot) |
| void | AddMaterialShaderFlag (String flagName, bool showErrors) |
| void | RemoveMaterialShaderFlag (String flagName) |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
Static Public Member Functions | |
| static bool | operator== (WeakMaterial weakMaterial1, WeakMaterial weakMaterial2) |
| static bool | operator!= (WeakMaterial weakMaterial1, WeakMaterial weakMaterial2) |
Static Public Attributes | |
| static readonly WeakMaterial | Invalid = new WeakMaterial(UIntPtr.Zero) |
Properties | |
| UIntPtr | Pointer [get] |
| bool | IsValid [get] |
| string | Name [get, set] |
| Gets Name of the material This property is read only. | |
| Shader TaleWorlds.Engine.WeakMaterial.GetShader | ( | ) |
| UInt64 TaleWorlds.Engine.WeakMaterial.GetShaderFlags | ( | ) |
| void TaleWorlds.Engine.WeakMaterial.SetShaderFlags | ( | UInt64 | flagEntry | ) |
| void TaleWorlds.Engine.WeakMaterial.SetMeshVectorArgument | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | w ) |
| void TaleWorlds.Engine.WeakMaterial.SetTexture | ( | Material.MBTextureType | textureType, |
| Texture | texture ) |
| void TaleWorlds.Engine.WeakMaterial.SetTextureAtSlot | ( | int | textureSlot, |
| Texture | texture ) |
| void TaleWorlds.Engine.WeakMaterial.SetAreaMapScale | ( | float | scale | ) |
| void TaleWorlds.Engine.WeakMaterial.SetEnableSkinning | ( | bool | enable | ) |
| bool TaleWorlds.Engine.WeakMaterial.UsingSkinning | ( | ) |
| Texture TaleWorlds.Engine.WeakMaterial.GetTexture | ( | Material.MBTextureType | textureType | ) |
| Texture TaleWorlds.Engine.WeakMaterial.GetTextureWithSlot | ( | int | textureSlot | ) |
| void TaleWorlds.Engine.WeakMaterial.AddMaterialShaderFlag | ( | String | flagName, |
| bool | showErrors ) |
| void TaleWorlds.Engine.WeakMaterial.RemoveMaterialShaderFlag | ( | String | flagName | ) |
|
static |
|
static |
| override bool TaleWorlds.Engine.WeakMaterial.Equals | ( | object | obj | ) |
| override int TaleWorlds.Engine.WeakMaterial.GetHashCode | ( | ) |
|
static |
|
get |
|
get |
|
getset |