Class SceneProxy
Content proxy for SceneItem.
Inheritance
System.Object
FlaxEditor.Content.ContentProxy
FlaxEditor.Content.AssetProxy
SceneProxy
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
[ContentContextMenu("New/Scene")]
public sealed class SceneProxy : JsonAssetBaseProxy
Constructors
SceneProxy()
Declaration
public SceneProxy()
Fields
Extension
The scene files extension.
Declaration
public static readonly string Extension
Field Value
System.String
|
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
TypeName
Declaration
public override string TypeName { get; }
Property Value
System.String
|
Overrides
FlaxEditor.Content.AssetProxy.TypeName
Methods
AcceptsAsset(String, String)
Declaration
public override bool AcceptsAsset(string typeName, string path)
Parameters
System.String
typeName
|
System.String
path
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.AssetProxy.AcceptsAsset(System.String, System.String)
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)
ConstructItem(String, String, ref Guid)
Declaration
public override AssetItem ConstructItem(string path, string typeName, ref Guid id)
Parameters
System.String
path
|
System.String
typeName
|
System.Guid
id
|
Returns
FlaxEditor.Content.AssetItem
|
Overrides
FlaxEditor.Content.AssetProxy.ConstructItem(System.String, System.String, System.Guid)
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)
OnContentWindowContextMenu(ContextMenu, ContentItem)
Declaration
public override void OnContentWindowContextMenu(ContextMenu menu, ContentItem item)
Parameters
FlaxEditor.GUI.ContextMenu.ContextMenu
menu
|
FlaxEditor.Content.ContentItem
item
|
Overrides
FlaxEditor.Content.ContentProxy.OnContentWindowContextMenu(FlaxEditor.GUI.ContextMenu.ContextMenu, 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)