Class ContentSearchPopup.ContentItemView
The content item.
Inheritance
System.Object
FlaxEditor.GUI.ItemsListContextMenu.Item
ContentSearchPopup.ContentItemView
Implements
System.IComparable
Namespace: FlaxEditor.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public class ContentItemView : ItemsListContextMenu.Item, IComparable, IDrawable, IContentItemOwner
Constructors
ContentItemView(ContentItem)
Initializes a new instance of the ContentSearchPopup.ContentItemView class.
Declaration
public ContentItemView(ContentItem item)
Parameters
FlaxEditor.Content.ContentItem
item
The item. |
Fields
ContentItem
Gets the item.
Declaration
public ContentItem ContentItem
Field Value
FlaxEditor.Content.ContentItem
|
IconSize
The icon size (in pixels).
Declaration
public const float IconSize = 28F
Field Value
System.Single
|
Methods
Draw()
Declaration
public override void Draw()
Overrides
FlaxEditor.GUI.ItemsListContextMenu.Item.Draw()
GetTextRect(out Rectangle)
Declaration
protected override void GetTextRect(out Rectangle rect)
Parameters
Rectangle
rect
|
Overrides
FlaxEditor.GUI.ItemsListContextMenu.Item.GetTextRect(FlaxEngine.Rectangle)
OnDestroy()
Method called when managed instance should be destroyed
Declaration
public override void OnDestroy()
Overrides
OnItemDeleted(ContentItem)
Declaration
public void OnItemDeleted(ContentItem item)
Parameters
FlaxEditor.Content.ContentItem
item
|
OnItemDispose(ContentItem)
Declaration
public void OnItemDispose(ContentItem item)
Parameters
FlaxEditor.Content.ContentItem
item
|
OnItemReimported(ContentItem)
Declaration
public void OnItemReimported(ContentItem item)
Parameters
FlaxEditor.Content.ContentItem
item
|
OnItemRenamed(ContentItem)
Declaration
public void OnItemRenamed(ContentItem item)
Parameters
FlaxEditor.Content.ContentItem
item
|
Extension Methods
See Also
FlaxEditor.GUI.ItemsListContextMenu.Item