Zdexby TheHolyOneZ
42,628 classes
Class

Material

: Object : Object
UnityEngine.Material, UnityEngine.CoreModule 0x0018 (24 B) inherited 0x0018 UnityEngine.CoreModule.dll
0x00x0018

Members 0

OffsetSizeNameTypeFlagsDefault
No reflected members.
Inherited from Object 4
OffsetSizeNameTypeFlagsDefault
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+1 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 83

SignatureFlagsNativeParams
void CreateWithShader(Material self, Shader shader)PrivateStatic0x08
void CreateWithMaterial(Material self, Material source)PrivateStatic0x08
void CreateWithString(Material self)PrivateStatic0x08
void .ctor(Shader shader)Public+1 flags0x08
void .ctor(Material source)Public+1 flags0x08
void .ctor(const string& contents)Public+1 flags0x08
Material GetDefaultMaterial()Static+1 flags0x08
Shader get_shader()Public+1 flags0x08
void set_shader(Shader value)Public+1 flags0x08
Color get_color()Public+1 flags0x10
void set_color(const Color& value)Public+1 flags0x10
Texture get_mainTexture()Public+1 flags0x08
void set_mainTexture(Texture value)Public+1 flags0x08
Vector2 get_mainTextureOffset()Public+1 flags0x08
void set_mainTextureOffset(const Vector2& value)Public+1 flags0x08
Vector2 get_mainTextureScale()Public+1 flags0x08
void set_mainTextureScale(const Vector2& value)Public+1 flags0x08
int GetFirstPropertyNameIdByAttribute(const ShaderPropertyFlags& attributeFlag)Private0x04
bool HasProperty(int nameID)Public0x04
bool HasProperty(const string& name)Public0x08
void set_renderQueue(int value)Public+1 flags0x04
int get_rawRenderQueue()2 flags0x04
void EnableKeyword(const string& keyword)Public0x08
void DisableKeyword(const string& keyword)Public0x08
bool IsKeywordEnabled(const string& keyword)Public0x08
bool get_enableInstancing()Public+1 flags0x01
void set_enableInstancing(bool value)Public+1 flags0x01
int get_passCount()Public+1 flags0x04
string GetTagImpl(const string& tag, bool currentSubShaderOnly, const string& defaultValue)Private0x08
string GetTag(const string& tag, bool searchFallbacks)Public0x08
bool SetPass(int pass)Public0x04
void CopyPropertiesFromMaterial(Material mat)Public0x08
string[] GetShaderKeywords()Private0x08
void SetShaderKeywords(const string[]& names)Private0x08
string[] get_shaderKeywords()Public+1 flags0x08
void set_shaderKeywords(const string[]& value)Public+1 flags0x08
int ComputeCRC()Public0x04
void SetFloatImpl(int name, float value)Private0x04
void SetColorImpl(int name, const Color& value)Private0x10
void SetMatrixImpl(int name, const Matrix4x4& value)Private0x40
void SetTextureImpl(int name, Texture value)Private0x08
void SetGraphicsBufferImpl(int name, GraphicsBuffer value)Private0x08
void SetConstantBufferImpl(int name, ComputeBuffer value, int offset, int size)Private0x08
float GetFloatImpl(int name)Private0x04
Color GetColorImpl(int name)Private0x10
Texture GetTextureImpl(int name)Private0x08
Vector4 GetTextureScaleAndOffsetImpl(int name)Private0x10
void SetTextureOffsetImpl(int name, const Vector2& offset)Private0x08
void SetTextureScaleImpl(int name, const Vector2& scale)Private0x08
void SetInt(int nameID, int value)Public0x04
void SetFloat(const string& name, float value)Public0x08
void SetFloat(int nameID, float value)Public0x04
void SetColor(const string& name, const Color& value)Public0x10
void SetColor(int nameID, const Color& value)Public0x10
void SetVector(const string& name, const Vector4& value)Public0x10
void SetVector(int nameID, const Vector4& value)Public0x10
void SetMatrix(int nameID, const Matrix4x4& value)Public0x40
void SetTexture(const string& name, Texture value)Public0x08
void SetTexture(int nameID, Texture value)Public0x08
void SetBuffer(int nameID, GraphicsBuffer value)Public0x08
void SetConstantBuffer(int nameID, ComputeBuffer value, int offset, int size)Public0x08
float GetFloat(const string& name)Public0x08
float GetFloat(int nameID)Public0x04
Color GetColor(const string& name)Public0x10
Color GetColor(int nameID)Public0x10
Vector4 GetVector(const string& name)Public0x10
Vector4 GetVector(int nameID)Public0x10
Texture GetTexture(const string& name)Public0x08
Texture GetTexture(int nameID)Public0x08
void SetTextureOffset(const string& name, const Vector2& value)Public0x08
void SetTextureOffset(int nameID, const Vector2& value)Public0x08
void SetTextureScale(const string& name, const Vector2& value)Public0x08
void SetTextureScale(int nameID, const Vector2& value)Public0x08
Vector2 GetTextureOffset(const string& name)Public0x08
Vector2 GetTextureOffset(int nameID)Public0x08
Vector2 GetTextureScale(const string& name)Public0x08
Vector2 GetTextureScale(int nameID)Public0x08
void SetColorImpl_Injected(int name, ref Color& value)Private0x10
void SetMatrixImpl_Injected(int name, ref Matrix4x4& value)Private0x40
void GetColorImpl_Injected(int name, ref Color& ret)Private0x10
void GetTextureScaleAndOffsetImpl_Injected(int name, ref Vector4& ret)Private0x10
void SetTextureOffsetImpl_Injected(int name, ref Vector2& offset)Private0x08
void SetTextureScaleImpl_Injected(int name, ref Vector2& scale)Private0x08

Used by 168

types with a member, parameter or interface of this type