ComputeCRC | Computes a CRC hash value from the content of the material. |
CopyMatchingPropertiesFromMaterial | Copies properties, keyword states and settings from mat to this material, but only if they exist in both materials. |
CopyPropertiesFromMaterial | Copy properties from other material into this material. |
DisableKeyword | Disables a local shader keyword for this material. |
EnableKeyword | Enables a local shader keyword for this material. |
FindPass | Returns the index of the pass passName. |
GetColor | Get a named color value. |
GetColorArray | Get a named color array. |
GetFloat | Get a named float value. |
GetFloatArray | Get a named float array. |
GetInt | This method is deprecated. Use GetFloat or GetInteger instead. |
GetInteger | Get a named integer value. |
GetMatrix | Get a named matrix value from the shader. |
GetMatrixArray | Get a named matrix array. |
GetPassName | Returns the name of the shader pass at index pass. |
GetShaderPassEnabled | Checks whether a given Shader pass is enabled on this Material. |
GetTag | Get the value of material's shader tag. |
GetTexture | Get a named texture. |
GetTextureOffset | Gets the placement offset of texture propertyName. |
GetTexturePropertyNameIDs | Return the name IDs of all texture properties exposed on this material. |
GetTexturePropertyNames | Returns the names of all texture properties exposed on this material. |
GetTextureScale | Gets the placement scale of texture propertyName. |
GetVector | Get a named vector value. |
GetVectorArray | Get a named vector array. |
HasBuffer | Checks if the ShaderLab file assigned to the Material has a ComputeBuffer property with the given name. |
HasColor | Checks if the ShaderLab file assigned to the Material has a Color property with the given name. |
HasConstantBuffer | Checks if the ShaderLab file assigned to the Material has a ConstantBuffer property with the given name. |
HasFloat | Checks if the ShaderLab file assigned to the Material has a Float property with the given name. This also works with the Float Array property. |
HasInt | This method is deprecated. Use HasFloat or HasInteger instead. |
HasInteger | Checks if the ShaderLab file assigned to the Material has an Integer property with the given name. |
HasMatrix | Checks if the ShaderLab file assigned to the Material has a Matrix property with the given name. This also works with the Matrix Array property. |
HasProperty | Checks if the ShaderLab file assigned to the Material has a property with the given name. |
HasTexture | Checks if the ShaderLab file assigned to the Material has a Texture property with the given name. |
HasVector | Checks if the ShaderLab file assigned to the Material has a Vector property with the given name. This also works with the Vector Array property. |
IsKeywordEnabled | Checks whether a local shader keyword is enabled for this material. |
Lerp | Interpolate properties between two materials. |
SetBuffer | Sets a named buffer value. |
SetColor | Sets a color value. |
SetColorArray | Sets a color array property. |
SetConstantBuffer | Sets a ComputeBuffer or GraphicsBuffer as a named constant buffer for the material. |
SetFloat | Sets a named float value. |
SetFloatArray | Sets a float array property. |
SetInt | This method is deprecated. Use SetFloat or SetInteger instead. |
SetInteger | Sets a named integer value. |
SetKeyword | Sets the state of a local shader keyword for this material. |
SetMatrix | Sets a named matrix for the shader. |
SetMatrixArray | Sets a matrix array property. |
SetOverrideTag | Sets an override tag/value on the material. |
SetPass | Activate the given pass for rendering. |
SetShaderPassEnabled | Enables or disables a Shader pass on a per-Material level. |
SetTexture | Sets a named texture. |
SetTextureOffset | Sets the placement offset of a given texture. The name parameter is defined in the shader. This method creates a new Material instance. |
SetTextureScale | Sets the placement scale of texture propertyName. |
SetVector | Sets a named vector value. |
SetVectorArray | Sets a vector array property. |
GetInstanceID | Gets the instance ID of the object. |
ToString | Returns the name of the object. |