struct GUITextureFieldContent

Structure describing contents of a GUIGameObjectField element.

Public

Constructors

GUITextureFieldContent

GUITextureFieldContent() = default

GUITextureFieldContent

GUITextureFieldContent(GUITextureFieldType type, const GUIContent &labelContent = GUIContent(), u32 labelWidth = 0, bool showLabel = false)

Fields

Type

Type name of the type this field accepts.

ShowLabel

bool ShowLabel

If true, label will be shown next to the field.

LabelContent

GUIContent LabelContent

Content to display in the editor field label.

Only relevant if ShowLabel is true.

LabelWidth

u32 LabelWidth

Width of the label in pixels.

Only relevant if ShowLabel is true.