Class ModelWindow
Editor window to view/modify Model asset.
Inheritance
System.Object
FlaxEngine.GUI.ScrollableControl
ModelWindow
Namespace: FlaxEditor.Windows.Assets
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class ModelWindow : ModelBaseWindow<Model, ModelWindow>, IComparable, IDrawable, IEditable, IContentItemOwner
Constructors
ModelWindow(Editor, AssetItem)
Declaration
public ModelWindow(Editor editor, AssetItem item)
Parameters
Editor
editor
|
FlaxEditor.Content.AssetItem
item
|
Methods
OnAssetLinked()
Called when asset gets linked and window can setup UI for it.
Declaration
protected override void OnAssetLinked()
Overrides
FlaxEditor.Windows.Assets.AssetEditorWindowBase<FlaxEngine.Model>.OnAssetLinked()
OnAssetLoaded()
Called when asset gets loaded and window can setup UI for it.
Declaration
protected override void OnAssetLoaded()
Overrides
FlaxEditor.Windows.Assets.ModelBaseWindow<FlaxEngine.Model, FlaxEditor.Windows.Assets.ModelWindow>.OnAssetLoaded()
OnDestroy()
Method called when managed instance should be destroyed
Declaration
public override void OnDestroy()
Overrides
OnItemReimported(ContentItem)
Declaration
public override void OnItemReimported(ContentItem item)
Parameters
FlaxEditor.Content.ContentItem
item
|
Overrides
FlaxEditor.Windows.Assets.ModelBaseWindow<FlaxEngine.Model, FlaxEditor.Windows.Assets.ModelWindow>.OnItemReimported(FlaxEditor.Content.ContentItem)
Save()
Tries to save asset changes if it has been edited.
Declaration
public override void Save()
Overrides
UnlinkItem()
Unlinks the item. Removes reference to it and unbinds all events.
Declaration
protected override void UnlinkItem()
Overrides
FlaxEditor.Windows.Assets.ModelBaseWindow<FlaxEngine.Model, FlaxEditor.Windows.Assets.ModelWindow>.UnlinkItem()
Update(Single)
Perform control update and all its children
Declaration
public override void Update(float deltaTime)
Parameters
System.Single
deltaTime
Delta time in seconds |
Overrides
FlaxEditor.Windows.Assets.AssetEditorWindowBase<FlaxEngine.Model>.Update(System.Single)