Class ModelItem
Implementation of BinaryAssetItem for Model assets.
Inheritance
System.Object
FlaxEditor.Content.ContentItem
FlaxEditor.Content.AssetItem
ModelItem
Implements
System.IComparable
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
public class ModelItem : BinaryAssetItem, IComparable, IDrawable
Constructors
ModelItem(String, ref Guid, String, Type)
Declaration
public ModelItem(string path, ref Guid id, string typeName, Type type)
Parameters
System.String
path
|
System.Guid
id
|
System.String
typeName
|
System.Type
type
|
Methods
OnBuildTooltipText(StringBuilder)
Declaration
protected override void OnBuildTooltipText(StringBuilder sb)
Parameters
System.Text.StringBuilder
sb
|
Overrides
FlaxEditor.Content.ContentItem.OnBuildTooltipText(System.Text.StringBuilder)
OnEditorDrag(Object)
Declaration
public override bool OnEditorDrag(object context)
Parameters
System.Object
context
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.AssetItem.OnEditorDrag(System.Object)
OnEditorDrop(Object)
Declaration
public override Actor OnEditorDrop(object context)
Parameters
System.Object
context
|
Returns
Actor
|
Overrides
FlaxEditor.Content.AssetItem.OnEditorDrop(System.Object)