You're breathtaking!

This commit is contained in:
Wojtek Figat
2020-12-07 23:40:54 +01:00
commit 6fb9eee74c
5143 changed files with 1153594 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.Surface
{
/// <summary>
/// Defines the context data and logic for the Visject Surface editor.
/// </summary>
[HideInEditor]
public interface ISurfaceContext
{
/// <summary>
/// Gets the name of the surface (for UI).
/// </summary>
string SurfaceName { get; }
/// <summary>
/// Gets or sets the surface data. Used to load or save the surface to the data source.
/// </summary>
byte[] SurfaceData { get; set; }
/// <summary>
/// Called when Visject Surface context gets created for this surface data source. Can be used to link for some events.
/// </summary>
/// <param name="context">The context.</param>
void OnContextCreated(VisjectSurfaceContext context);
}
}