Deprecated feature, no longer available
color | The main color of the Material. |
doubleSidedGI | Gets and sets whether the Double Sided Global Illumination setting is enabled for this material. |
enableInstancing | Gets and sets whether GPU instancing is enabled for this material. |
globalIlluminationFlags | マテリアルがライトマップとライトプローブをどのように操作するかを定義します |
mainTexture | The main texture. |
mainTextureOffset | The offset of the main texture. |
mainTextureScale | The scale of the main texture. |
passCount | マテリアルのパスの数(読み取り専用) |
renderQueue | マテリアルのレンダーキュー |
shader | マテリアルで使用するシェーダー |
shaderKeywords | An array containing the names of the local shader keywords that are currently enabled for this material. |
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | オブジェクト名 |
ComputeCRC | Computes a CRC hash value from the content of the material. |
CopyPropertiesFromMaterial | マテリアルのプロパティーを他のマテリアルにコピーします |
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 | 設定された名前から色を取得します |
GetColorArray | Get a named color array. |
GetFloat | 設定された名前から float 値を取得します |
GetFloatArray | Get a named float array. |
GetInt | 設定された名前から int 値を取得します |
GetMatrix | 設定された名前から matrix 値を取得します |
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 | マテリアルのシェーダーのタグ名を取得します |
GetTexture | 設定された名前からテクスチャを取得します |
GetTextureOffset | テクスチャのプロパティー名から画像のオフセットを取得します |
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 | テクスチャのプロパティー名から画像の大きさを取得します |
GetVector | プロパティー名から Vector4 型の値を取得します |
GetVectorArray | Get a named vector array. |
HasProperty | シェーダーのプロパティーに特定のプロパティー名が設定されているか確認します |
IsKeywordEnabled | Checks whether a local shader keyword is enabled for this material. |
Lerp | 2 つのマテリアルを時間をかけて変更させます |
SetBuffer | Sets a named buffer value. |
SetColor | Sets a named 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 | Sets a named integer value. |
SetMatrix | Sets a named matrix for the shader. |
SetMatrixArray | Sets a matrix array property. |
SetOverrideTag | マテリアルの Tag/Value を上書きに設定します |
SetPass | レンダリングのための特定のパスを有効にします |
SetShaderPassEnabled | Enables or disables a Shader pass on a per-Material level. |
SetTexture | Sets a named texture. |
SetTextureOffset | テクスチャのオフセットを設定します |
SetTextureScale | テクスチャのスケールを設定します |
SetVector | Sets a named vector value. |
SetVectorArray | Sets a vector array property. |
GetInstanceID | オブジェクトのインスタンス ID を返します |
ToString | Returns the name of the object. |
Destroy | Removes a GameObject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindObjectOfType | タイプ type から最初に見つけたアクティブのオブジェクトを返します |
FindObjectsOfType | Gets a list of all loaded objects of Type type. |
Instantiate | original のオブジェクトをクローンします |
bool | オブジェクトが存在するかどうか |
operator != | 二つのオブジェクトが異なるオブジェクトを参照しているか比較します |
operator == | 2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.