Zdexby TheHolyOneZ
36,909 classes
Class

Material

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

Members 2

OffsetSizeNameTypeFlagsDefault
0x04k_ColorIdintPrivateStatic+1 flags—
0x04k_MainTexIdintPrivateStatic+1 flags—
Inherited from Object 5
OffsetSizeNameTypeFlagsDefault
—0x04kInstanceID_NoneintPrivateStatic+1 flags8
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+2 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 138

SignatureFlagsNativeParams
void CreateWithShader(Material self, Shader shader)PrivateStatic0x08
void CreateWithMaterial(Material self, Material source)PrivateStatic0x08
void .ctor(Shader shader)Public+1 flags0x08
void .ctor(Material source)Public+1 flags0x08
void .ctor(const string& contents)Public+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
bool HasFloatImpl(int name)Private0x04
bool HasFloat(int nameID)Public0x04
void set_renderQueue(int value)Public+1 flags0x04
void EnableKeyword(const string& keyword)Public0x08
void DisableKeyword(const string& keyword)Public0x08
bool IsKeywordEnabled(const string& keyword)Public0x08
void EnableLocalKeyword(const LocalKeyword& keyword)Private0x18
void DisableLocalKeyword(const LocalKeyword& keyword)Private0x18
void EnableKeyword(ref LocalKeyword& keyword)Public0x18
void DisableKeyword(ref LocalKeyword& keyword)Public0x18
void SetEnabledKeywords(const LocalKeyword[]& keywords)Private0x08
void set_enabledKeywords(const LocalKeyword[]& value)Public+1 flags0x08
bool get_enableInstancing()Public+1 flags0x01
void set_enableInstancing(bool value)Public+1 flags0x01
int get_passCount()Public+1 flags0x04
int FindPass(const string& passName)Public0x08
void Lerp(Material start, Material end, float t)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 SetIntImpl(int name, int value)Private0x04
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
void SetFloatArrayImpl(int name, const float[]& values, int count)Private0x08
void SetVectorArrayImpl(int name, const Vector4[]& values, int count)Private0x08
void SetMatrixArrayImpl(int name, const Matrix4x4[]& values, int count)Private0x08
Vector4 GetTextureScaleAndOffsetImpl(int name)Private0x10
void SetTextureOffsetImpl(int name, const Vector2& offset)Private0x08
void SetTextureScaleImpl(int name, const Vector2& scale)Private0x08
void SetFloatArray(int name, const float[]& values, int count)Private0x08
void SetVectorArray(int name, const Vector4[]& values, int count)Private0x08
void SetMatrixArray(int name, const Matrix4x4[]& values, int count)Private0x08
void SetInt(const string& name, int value)Public0x08
void SetInt(int nameID, int value)Public0x04
void SetFloat(const string& name, float value)Public0x08
void SetFloat(int nameID, float value)Public0x04
void SetInteger(int nameID, int 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(const string& name, const Matrix4x4& value)Public0x40
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(const string& name, GraphicsBuffer value)Public0x08
void SetBuffer(int nameID, GraphicsBuffer value)Public0x08
void SetConstantBuffer(int nameID, ComputeBuffer value, int offset, int size)Public0x08
void SetFloatArray(int nameID, const float[]& values)Public0x08
void SetVectorArray(const string& name, const Vector4[]& values)Public0x08
void SetVectorArray(int nameID, const Vector4[]& values)Public0x08
void SetMatrixArray(int nameID, const Matrix4x4[]& values)Public0x08
int GetInt(const string& name)Public0x08
int GetInt(int nameID)Public0x04
float GetFloat(const string& name)Public0x08
float GetFloat(int nameID)Public0x04
Color GetColor(int nameID)Public0x10
Vector4 GetVector(const string& name)Public0x10
Vector4 GetVector(int nameID)Public0x10
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 .cctor()PrivateStatic+1 flags0x00
void CreateWithShader_Injected(Material self, long shader)PrivateStatic0x08
void CreateWithMaterial_Injected(Material self, long source)PrivateStatic0x08
long get_shader_Injected(long _unity_self)PrivateStatic0x08
void set_shader_Injected(long _unity_self, long value)PrivateStatic0x08
int GetFirstPropertyNameIdByAttribute_Injected(long _unity_self, const ShaderPropertyFlags& attributeFlag)PrivateStatic0x08
bool HasProperty_Injected(long _unity_self, int nameID)PrivateStatic0x08
bool HasFloatImpl_Injected(long _unity_self, int name)PrivateStatic0x08
void set_renderQueue_Injected(long _unity_self, int value)PrivateStatic0x08
void EnableKeyword_Injected(long _unity_self, ref ManagedSpanWrapper& keyword)PrivateStatic0x10
void DisableKeyword_Injected(long _unity_self, ref ManagedSpanWrapper& keyword)PrivateStatic0x10
bool IsKeywordEnabled_Injected(long _unity_self, ref ManagedSpanWrapper& keyword)PrivateStatic0x10
void EnableLocalKeyword_Injected(long _unity_self, ref LocalKeyword& keyword)PrivateStatic0x18
void DisableLocalKeyword_Injected(long _unity_self, ref LocalKeyword& keyword)PrivateStatic0x18
void SetEnabledKeywords_Injected(long _unity_self, const LocalKeyword[]& keywords)PrivateStatic0x08
bool get_enableInstancing_Injected(long _unity_self)PrivateStatic0x08
void set_enableInstancing_Injected(long _unity_self, bool value)PrivateStatic0x08
int get_passCount_Injected(long _unity_self)PrivateStatic0x08
int FindPass_Injected(long _unity_self, ref ManagedSpanWrapper& passName)PrivateStatic0x10
void Lerp_Injected(long _unity_self, long start, long end, float t)PrivateStatic0x08
bool SetPass_Injected(long _unity_self, int pass)PrivateStatic0x08
void CopyPropertiesFromMaterial_Injected(long _unity_self, long mat)PrivateStatic0x08
string[] GetShaderKeywords_Injected(long _unity_self)PrivateStatic0x08
void SetShaderKeywords_Injected(long _unity_self, const string[]& names)PrivateStatic0x08
int ComputeCRC_Injected(long _unity_self)PrivateStatic0x08
void SetIntImpl_Injected(long _unity_self, int name, int value)PrivateStatic0x08
void SetFloatImpl_Injected(long _unity_self, int name, float value)PrivateStatic0x08
void SetColorImpl_Injected(long _unity_self, int name, ref Color& value)PrivateStatic0x10
void SetMatrixImpl_Injected(long _unity_self, int name, ref Matrix4x4& value)PrivateStatic0x40
void SetTextureImpl_Injected(long _unity_self, int name, long value)PrivateStatic0x08
void SetGraphicsBufferImpl_Injected(long _unity_self, int name, long value)PrivateStatic0x08
void SetConstantBufferImpl_Injected(long _unity_self, int name, long value, int offset, int size)PrivateStatic0x08
float GetFloatImpl_Injected(long _unity_self, int name)PrivateStatic0x08
void GetColorImpl_Injected(long _unity_self, int name, ref Color& ret)PrivateStatic0x10
long GetTextureImpl_Injected(long _unity_self, int name)PrivateStatic0x08
void SetFloatArrayImpl_Injected(long _unity_self, int name, ref ManagedSpanWrapper& values, int count)PrivateStatic0x10
void SetVectorArrayImpl_Injected(long _unity_self, int name, ref ManagedSpanWrapper& values, int count)PrivateStatic0x10
void SetMatrixArrayImpl_Injected(long _unity_self, int name, ref ManagedSpanWrapper& values, int count)PrivateStatic0x10
void GetTextureScaleAndOffsetImpl_Injected(long _unity_self, int name, ref Vector4& ret)PrivateStatic0x10
void SetTextureOffsetImpl_Injected(long _unity_self, int name, ref Vector2& offset)PrivateStatic0x08
void SetTextureScaleImpl_Injected(long _unity_self, int name, ref Vector2& scale)PrivateStatic0x08

Used by 314

types with a member, parameter or interface of this type