Class NewItem
Helper content item used to mock UI during creating new assets by ContentWindow.
Implements
System.IComparable
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class NewItem : ContentItem, IComparable, IDrawable
Constructors
NewItem(String, ContentProxy, Object)
Initializes a new instance of the NewItem class.
Declaration
public NewItem(string path, ContentProxy proxy, object arg)
Parameters
System.String
path
The path for the new item. |
FlaxEditor.Content.ContentProxy
proxy
The content proxy object. |
System.Object
arg
The argument passed to the proxy for the item creation. In most cases it is null. |
Properties
Argument
Gets the argument passed to the proxy for the item creation. In most cases it is null.
Declaration
public object Argument { get; }
Property Value
System.Object
|
DefaultThumbnail
Declaration
public override SpriteHandle DefaultThumbnail { get; }
Property Value
SpriteHandle
|
Overrides
FlaxEditor.Content.ContentItem.DefaultThumbnail
DrawShadow
Declaration
protected override bool DrawShadow { get; }
Property Value
System.Boolean
|
Overrides
FlaxEditor.Content.ContentItem.DrawShadow
ItemType
Declaration
public override ContentItemType ItemType { get; }
Property Value
FlaxEditor.Content.ContentItemType
|
Overrides
FlaxEditor.Content.ContentItem.ItemType
Proxy
Gets the proxy object related to the created asset.
Declaration
public ContentProxy Proxy { get; }
Property Value
FlaxEditor.Content.ContentProxy
|
SearchFilter
Declaration
public override ContentItemSearchFilter SearchFilter { get; }
Property Value
FlaxEditor.Content.ContentItemSearchFilter
|
Overrides
FlaxEditor.Content.ContentItem.SearchFilter
TypeDescription
Declaration
public override string TypeDescription { get; }
Property Value
System.String
|
Overrides
FlaxEditor.Content.ContentItem.TypeDescription
Methods
UpdateTooltipText()
Declaration
public override void UpdateTooltipText()
Overrides
FlaxEditor.Content.ContentItem.UpdateTooltipText()
Extension Methods
See Also
FlaxEditor.Content.ContentItem