Class MaterialInstanceProxy
A MaterialInstance asset proxy object.
Inheritance
System.Object
FlaxEditor.Content.ContentProxy
FlaxEditor.Content.AssetProxy
MaterialInstanceProxy
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
[ContentContextMenu("New/Material/Material Instance")]
public class MaterialInstanceProxy : BinaryAssetProxy
Constructors
MaterialInstanceProxy()
Declaration
public MaterialInstanceProxy()
Properties
AccentColor
Declaration
public override Color AccentColor { get; }
Property Value
Color
|
Overrides
FlaxEditor.Content.ContentProxy.AccentColor
AssetType
Gets the type of the asset.
Declaration
public override Type AssetType { get; }
Property Value
System.Type
|
Overrides
Name
Declaration
public override string Name { get; }
Property Value
System.String
|
Overrides
FlaxEditor.Content.ContentProxy.Name
Methods
CanCreate(ContentFolder)
Declaration
public override bool CanCreate(ContentFolder targetLocation)
Parameters
FlaxEditor.Content.ContentFolder
targetLocation
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.ContentProxy.CanCreate(FlaxEditor.Content.ContentFolder)
CanDrawThumbnail(ThumbnailRequest)
Declaration
public override bool CanDrawThumbnail(ThumbnailRequest request)
Parameters
FlaxEditor.Content.Thumbnails.ThumbnailRequest
request
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.AssetProxy.CanDrawThumbnail(FlaxEditor.Content.Thumbnails.ThumbnailRequest)
Create(String, Object)
Declaration
public override void Create(string outputPath, object arg)
Parameters
System.String
outputPath
|
System.Object
arg
|
Overrides
FlaxEditor.Content.ContentProxy.Create(System.String, System.Object)
Dispose()
Declaration
public override void Dispose()
Overrides
FlaxEditor.Content.ContentProxy.Dispose()
OnThumbnailDrawBegin(ThumbnailRequest, ContainerControl, GPUContext)
Declaration
public override void OnThumbnailDrawBegin(ThumbnailRequest request, ContainerControl guiRoot, GPUContext context)
Parameters
FlaxEditor.Content.Thumbnails.ThumbnailRequest
request
|
ContainerControl
guiRoot
|
GPUContext
context
|
Overrides
FlaxEditor.Content.AssetProxy.OnThumbnailDrawBegin(FlaxEditor.Content.Thumbnails.ThumbnailRequest, FlaxEngine.GUI.ContainerControl, FlaxEngine.GPUContext)
OnThumbnailDrawEnd(ThumbnailRequest, ContainerControl)
Declaration
public override void OnThumbnailDrawEnd(ThumbnailRequest request, ContainerControl guiRoot)
Parameters
FlaxEditor.Content.Thumbnails.ThumbnailRequest
request
|
ContainerControl
guiRoot
|
Overrides
FlaxEditor.Content.AssetProxy.OnThumbnailDrawEnd(FlaxEditor.Content.Thumbnails.ThumbnailRequest, FlaxEngine.GUI.ContainerControl)
OnThumbnailDrawPrepare(ThumbnailRequest)
Declaration
public override void OnThumbnailDrawPrepare(ThumbnailRequest request)
Parameters
FlaxEditor.Content.Thumbnails.ThumbnailRequest
request
|
Overrides
FlaxEditor.Content.AssetProxy.OnThumbnailDrawPrepare(FlaxEditor.Content.Thumbnails.ThumbnailRequest)
Open(Editor, ContentItem)
Declaration
public override EditorWindow Open(Editor editor, ContentItem item)
Parameters
Editor
editor
|
FlaxEditor.Content.ContentItem
item
|
Returns
EditorWindow
|
Overrides
FlaxEditor.Content.ContentProxy.Open(FlaxEditor.Editor, FlaxEditor.Content.ContentItem)