mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
Bind battle control nodes to action owners. Share preview lighting, geometry and effect resources with the existing Unity editors.
24 lines
794 B
C#
24 lines
794 B
C#
// ------------------------------------------------------------------------
|
|
// Copyright (c) 2026, Jiaqi (0x7c13) Liu. All rights reserved.
|
|
// See LICENSE file in the project root for license information.
|
|
// ------------------------------------------------------------------------
|
|
|
|
namespace Pal3.ResourceBrowser
|
|
{
|
|
using UnityEngine;
|
|
|
|
// The composite preview owner supplies and disposes optional frame effects.
|
|
// Rendering the scene and presenting its output remain separate operations.
|
|
public interface IResourcePreviewFrameEffect
|
|
{
|
|
Vector2Int TargetSize(int requestedWidth, int requestedHeight);
|
|
|
|
Rect Viewport
|
|
{
|
|
get;
|
|
}
|
|
|
|
RenderTexture Composite(RenderTexture scene, int requestedWidth, int requestedHeight);
|
|
}
|
|
}
|