Class BinaryAssetItem
Represents binary asset item.
Inheritance
System.Object
FlaxEditor.Content.ContentItem
FlaxEditor.Content.AssetItem
BinaryAssetItem
Implements
System.IComparable
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
public class BinaryAssetItem : AssetItem, IComparable, IDrawable
Constructors
BinaryAssetItem(String, ref Guid, String, Type, ContentItemSearchFilter)
Initializes a new instance of the BinaryAssetItem class.
Declaration
public BinaryAssetItem(string path, ref Guid id, string typeName, Type type, ContentItemSearchFilter searchFilter)
Parameters
System.String
path
The asset path. |
System.Guid
id
The asset identifier. |
System.String
typeName
The asset type name identifier. |
System.Type
type
The asset type. |
FlaxEditor.Content.ContentItemSearchFilter
searchFilter
The asset type search filter type. |
Fields
Type
The type of the asset (the same as FlaxEditor.Content.AssetItem.TypeName but cached as type reference).
Declaration
public readonly Type Type
Field Value
System.Type
|
Properties
SearchFilter
Declaration
public override ContentItemSearchFilter SearchFilter { get; }
Property Value
FlaxEditor.Content.ContentItemSearchFilter
|
Overrides
FlaxEditor.Content.ContentItem.SearchFilter
Methods
GetImportPath(out String)
Gets the asset import path.
Declaration
public bool GetImportPath(out string importPath)
Parameters
System.String
importPath
The import path. |
Returns
System.Boolean
True if fails, otherwise false. |
IsOfType(Type)
Declaration
public override bool IsOfType(Type type)
Parameters
System.Type
type
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.AssetItem.IsOfType(System.Type)
Extension Methods
See Also
FlaxEditor.Content.AssetItem