Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MaterialProperty.PropType

Material property type.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. Use UnityEngine.Rendering.ShaderPropertyType instead.
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.