FloatProperty
Draw a property field for a float shader property.
阅读时间1 分钟最后更新于 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
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
Returns
Type | Description |
|---|---|
| float |
FloatProperty(string, string)
Draw a property field for a float shader property.
public float FloatProperty(string propertyName, string label)
Parameters
Returns
Type | Description |
|---|---|
| float |