Class JsonAssetItem
Asset item stored in a Json format file.
Inheritance
System.Object
FlaxEditor.Content.ContentItem
FlaxEditor.Content.AssetItem
JsonAssetItem
Implements
System.IComparable
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
public class JsonAssetItem : AssetItem, IComparable, IDrawable
Constructors
JsonAssetItem(String, Guid, String)
Initializes a new instance of the JsonAssetItem class.
Declaration
public JsonAssetItem(string path, Guid id, string typeName)
Parameters
System.String
path
The path. |
System.Guid
id
The identifier. |
System.String
typeName
Name of the resource type. |
JsonAssetItem(String, Guid, String, SpriteHandle)
Initializes a new instance of the JsonAssetItem class.
Declaration
public JsonAssetItem(string path, Guid id, string typeName, SpriteHandle thumbnail)
Parameters
System.String
path
The path. |
System.Guid
id
The identifier. |
System.String
typeName
Name of the resource type. |
SpriteHandle
thumbnail
Asset icon. |
Fields
_thumbnail
Properties
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.AssetItem.DrawShadow
SearchFilter
Declaration
public override ContentItemSearchFilter SearchFilter { get; }
Property Value
FlaxEditor.Content.ContentItemSearchFilter
|
Overrides
FlaxEditor.Content.ContentItem.SearchFilter
Extension Methods
See Also
FlaxEditor.Content.AssetItem