MaterialEditor
.VectorProperty
public
Vector4
VectorProperty
(
MaterialProperty
prop
, string
label
);
public
Vector4
VectorProperty
(
Rect
position
,
MaterialProperty
prop
, string
label
);
Parameters
label
Label for the field.
Description 描述
Draw a property field for a vector shader property.