文档

Unity Engine

Unity Engine

IntegerProperty

Draw a property field for an integer shader property.
阅读时间1 分钟最后更新于 1 天前

Definition

IntegerProperty(MaterialProperty, string)

Draw a property field for an integer shader property.
public int IntegerProperty(MaterialProperty prop, string label)

Parameters


label

Label for the property.

Returns

Type

Description

int

IntegerProperty(Rect, MaterialProperty, string)

Draw a property field for an integer shader property.
public int IntegerProperty(Rect position, MaterialProperty prop, string label)

Parameters

position



label

Label for the property.

Returns

Type

Description

int