기술 자료

Unity Engine

Unity Engine

IntegerProperty

Draw a property field for an integer shader property.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

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