VectorProperty
Draw a property field for a vector shader property.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
VectorProperty(MaterialProperty, string)
Draw a property field for a vector shader property.
public Vector4 VectorProperty(MaterialProperty prop, string label)
Parameters
Returns
Type | Description |
|---|---|
| Vector4 |
VectorProperty(MaterialProperty, GUIContent)
Draw a property field for a vector shader property.
public Vector4 VectorProperty(MaterialProperty prop, GUIContent label)
Parameters
Returns
Type | Description |
|---|---|
| Vector4 |
VectorProperty(Rect, MaterialProperty, string)
Draw a property field for a vector shader property.
public Vector4 VectorProperty(Rect position, MaterialProperty prop, string label)
Parameters
Returns
Type | Description |
|---|---|
| Vector4 |
VectorProperty(Rect, MaterialProperty, GUIContent)
Draw a property field for a vector shader property.
public Vector4 VectorProperty(Rect position, MaterialProperty prop, GUIContent label)
Parameters
Returns
Type | Description |
|---|---|
| Vector4 |
VectorProperty(string, string)
Draw a property field for a vector shader property.
public Vector4 VectorProperty(string propertyName, string label)
Parameters
Returns
Type | Description |
|---|---|
| Vector4 |