Table of Contents

Class VectorDrawer

public class VectorDrawer : MaterialPropertyDrawer
Inheritance
VectorDrawer
Derived
Extension Methods

Constructors

VectorDrawer(int)

protected VectorDrawer(int dimension)

Parameters

dimension int

VectorDrawer(string, string)

public VectorDrawer(string label1, string label2)

Parameters

label1 string
label2 string

VectorDrawer(string, string, string)

public VectorDrawer(string label1, string label2, string label3)

Parameters

label1 string
label2 string
label3 string

VectorDrawer(string, string, string, string)

public VectorDrawer(string label1, string label2, string label3, string label4)

Parameters

label1 string
label2 string
label3 string
label4 string

Methods

GetPropertyHeight(MaterialProperty, string, MaterialEditor)

public override float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)

Parameters

prop MaterialProperty
label string
editor MaterialEditor

Returns

float

OnGUI(Rect, MaterialProperty, string, MaterialEditor)

public override void OnGUI(Rect position, MaterialProperty prop, string label, MaterialEditor editor)

Parameters

position Rect
prop MaterialProperty
label string
editor MaterialEditor