Version: 2021.2
言語: 日本語
Removed

ProceduralMaterial

class in UnityEngine

/

継承:Material

マニュアルに切り替える
Obsolete

説明

Deprecated feature, no longer available

継承メンバー

変数

colorThe main color of the Material.
doubleSidedGIGets and sets whether the Double Sided Global Illumination setting is enabled for this material.
enabledKeywordsAn array containing the local shader keywords that are currently enabled for this material.
enableInstancingGets and sets whether GPU instancing is enabled for this material.
globalIlluminationFlagsマテリアルがライトマップとライトプローブをどのように操作するかを定義します
mainTextureThe main texture.
mainTextureOffsetThe offset of the main texture.
mainTextureScaleThe scale of the main texture.
passCountマテリアルのパスの数(読み取り専用)
renderQueueマテリアルのレンダーキュー
shaderマテリアルで使用するシェーダー
shaderKeywordsAn array containing names of the local shader keywords that are currently enabled for this material.
hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameオブジェクト名

Public 関数

ComputeCRCComputes a CRC hash value from the content of the material.
CopyPropertiesFromMaterialマテリアルのプロパティーを他のマテリアルにコピーします
DisableKeywordDisables a local shader keyword for this material.
EnableKeywordEnables a local shader keyword for this material.
FindPassReturns the index of the pass passName.
GetColor設定された名前から色を取得します
GetColorArrayGet a named color array.
GetFloat設定された名前から float 値を取得します
GetFloatArrayGet a named float array.
GetIntThis method is deprecated. Use GetFloat or GetInteger instead.
GetInteger設定された名前から int 値を取得します
GetMatrix設定された名前から matrix 値を取得します
GetMatrixArrayGet a named matrix array.
GetPassNameReturns the name of the shader pass at index pass.
GetShaderPassEnabledChecks whether a given Shader pass is enabled on this Material.
GetTagマテリアルのシェーダーのタグ名を取得します
GetTexture設定された名前からテクスチャを取得します
GetTextureOffsetテクスチャのプロパティー名から画像のオフセットを取得します
GetTexturePropertyNameIDsReturn the name IDs of all texture properties exposed on this material.
GetTexturePropertyNamesReturns the names of all texture properties exposed on this material.
GetTextureScaleテクスチャのプロパティー名から画像の大きさを取得します
GetVectorプロパティー名から Vector4 型の値を取得します
GetVectorArrayGet a named vector array.
HasBufferChecks if the ShaderLab file assigned to the Material has a ComputeBuffer property with the given name.
HasColorChecks if the ShaderLab file assigned to the Material has a Color property with the given name.
HasConstantBufferChecks if the ShaderLab file assigned to the Material has a ConstantBuffer property with the given name.
HasFloatChecks if the ShaderLab file assigned to the Material has a Float property with the given name. This also works with the Float Array property.
HasIntThis method is deprecated. Use HasFloat or HasInteger instead.
HasIntegerChecks if the ShaderLab file assigned to the Material has an Integer property with the given name.
HasMatrixChecks if the ShaderLab file assigned to the Material has a Matrix property with the given name. This also works with the Matrix Array property.
HasPropertyChecks if the ShaderLab file assigned to the Material has a property with the given name.
HasTextureChecks if the ShaderLab file assigned to the Material has a Texture property with the given name.
HasVectorChecks if the ShaderLab file assigned to the Material has a Vector property with the given name. This also works with the Vector Array property.
IsKeywordEnabledChecks whether a local shader keyword is enabled for this material.
Lerp2 つのマテリアルを時間をかけて変更させます
SetBufferSets a named buffer value.
SetColorSets a named color value.
SetColorArraySets a color array property.
SetConstantBufferSets a ComputeBuffer or GraphicsBuffer as a named constant buffer for the material.
SetFloatSets a named float value.
SetFloatArraySets a float array property.
SetIntThis method is deprecated. Use SetFloat or SetInteger instead.
SetIntegerSets a named integer value.
SetKeywordSets the state of a local shader keyword for this material.
SetMatrixSets a named matrix for the shader.
SetMatrixArraySets a matrix array property.
SetOverrideTagマテリアルの Tag/Value を上書きに設定します
SetPassレンダリングのための特定のパスを有効にします
SetShaderPassEnabledEnables or disables a Shader pass on a per-Material level.
SetTextureSets a named texture.
SetTextureOffsetテクスチャのオフセットを設定します
SetTextureScaleテクスチャのスケールを設定します
SetVectorSets a named vector value.
SetVectorArraySets a vector array property.
GetInstanceIDGets the instance ID of the object.
ToStringReturns the name of the object.

Static 関数

DestroyRemoves a GameObject, component or asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeタイプ type から最初に見つけたアクティブのオブジェクトを返します
FindObjectsOfTypeGets a list of all loaded objects of Type type.
Instantiateoriginal のオブジェクトをクローンします

Operator

boolオブジェクトが存在するかどうか
operator !=二つのオブジェクトが異なるオブジェクトを参照しているか比較します
operator ==2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。