Click or drag to resize

SelectionGridItemT Constructor (GUIContent, T, Single, Single, GUIStyle, Color, Boolean)

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.UserInterface
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[PublicAPIAttribute]
public SelectionGridItem(
	[NotNullAttribute] GUIContent content,
	T referencedItem,
	float width,
	float height,
	[NotNullAttribute] GUIStyle style,
	Color color,
	bool enabled = true
)

Parameters

content
Type: GUIContent
Text, image and tooltip for selection grid item.
referencedItem
Type: T
Object, that linked with SelectionGridItem
width
Type: SystemSingle
Width of GUI element
height
Type: SystemSingle
Height of GUI element
style
Type: GUIStyle
Style of GUI element
color
Type: Color
Color of GUI element.

Default: Color.white

enabled (Optional)
Type: SystemBoolean
Enabled grid items are drawn as enabled GUI element. Disabled - as disabled.
See Also