기술 자료

Unity Engine

Unity Engine

FloatProperty

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

Definition

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

FloatProperty(MaterialProperty, string)

Draw a property field for a float shader property.
public float FloatProperty(MaterialProperty prop, string label)

Parameters


label

Label for the property.

Returns

Type

Description

float

FloatProperty(Rect, MaterialProperty, string)

Draw a property field for a float shader property.
public float FloatProperty(Rect position, MaterialProperty prop, string label)

Parameters

position



label

Label for the property.

Returns

Type

Description

float

FloatProperty(string, string)

Draw a property field for a float shader property.
경고
Deprecated. Use FloatProperty with MaterialProperty instead.
public float FloatProperty(string propertyName, string label)

Parameters

propertyName


label

Label for the property.

Returns

Type

Description

float