文档

Unity Engine

Unity Engine

MaterialProperty.PropType

Material property type.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum MaterialProperty.PropType

Remarks

Material properties can be textures, colors, floats and so on.
Additional Resources: MaterialProperty.type.

Fields

Value

Description

ColorColor property.
FloatFloat property.
IntInt property.
RangeRanged float (with min/max values) property.
TextureTexture property.
VectorVector property.