Class ShaderSourceProxy
Context proxy object for shader source files (represented by ShaderSourceItem).
Inheritance
System.Object
FlaxEditor.Content.ContentProxy
ShaderSourceProxy
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
[ContentContextMenu("New/Shader Source")]
public class ShaderSourceProxy : ContentProxy
Constructors
ShaderSourceProxy()
Declaration
public ShaderSourceProxy()
Properties
AccentColor
Declaration
public override Color AccentColor { get; }
Property Value
Color
|
Overrides
FlaxEditor.Content.ContentProxy.AccentColor
FileExtension
Declaration
public override string FileExtension { get; }
Property Value
System.String
|
Overrides
FlaxEditor.Content.ContentProxy.FileExtension
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)
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)
IsProxyFor(ContentItem)
Declaration
public override bool IsProxyFor(ContentItem item)
Parameters
FlaxEditor.Content.ContentItem
item
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.ContentProxy.IsProxyFor(FlaxEditor.Content.ContentItem)
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)
Extension Methods
See Also
FlaxEditor.Content.ContentProxy