MaterialDescription

UnityEditor.AssetImporters 中的类

描述

包含一组用于描述 MaterialDescription 的纹理输入的类型化属性。

属性

materialName材质的名称

公共方法

GetFloatPropertyNames检索此材质的类型为浮点数的属性名称。
GetStringPropertyNames检索此材质的类型为字符串的属性名称。
GetTexturePropertyNames检索此材质的类型为 TextureDescription 的属性名称。
GetVector4PropertyNames检索此材质的类型为 Vector4 的属性名称。
HasAnimationCurve检查材质属性是否在任何 AnimationClip 中被动画化。
HasAnimationCurveInClip检查材质属性是否在特定 AnimationClip 中被动画化。
TryGetAnimationCurve检索特定 AnimationClip 中动画化材质属性的 AnimationCurve。
TryGetProperty检索指定材质属性的值。

Did you find this page useful? Please give it a rating: