smrendererv3/SMCode/SM.Base/Scene/IScriptable.cs
Michel Fedde 4efc47d75a 2021-03-07
+ IScriptable can now be disabled instancewise
+ IShowItem can disable rendering.

~ SM.Base.Mesh has now ILineMesh

- IGenericWindow.AspectRatioReverse
2021-03-07 12:30:54 +01:00

19 lines
No EOL
387 B
C#

using SM.Base;
using SM.Base.Windows;
namespace SM.Base.Scene
{
/// <summary>
/// Defines a object as script.
/// </summary>
public interface IScriptable
{
bool Active { get; set; }
bool UpdateActive { get; set; }
/// <summary>
/// Updates the object.
/// </summary>
void Update(UpdateContext context);
}
}