2021-03-07
+ IScriptable can now be disabled instancewise + IShowItem can disable rendering. ~ SM.Base.Mesh has now ILineMesh - IGenericWindow.AspectRatioReverse
This commit is contained in:
parent
c6bf5c75bc
commit
4efc47d75a
10 changed files with 16 additions and 10 deletions
|
|
@ -46,7 +46,8 @@ namespace SM.Base.Drawing
|
|||
/// This value determents if the object should draw something.
|
||||
/// </summary>
|
||||
public bool Active { get; set; } = true;
|
||||
|
||||
public bool RenderActive { get; set; } = true;
|
||||
|
||||
/// <inheritdoc />
|
||||
public void Draw(DrawContext context)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -73,7 +73,9 @@ namespace SM.Base.Drawing.Particles
|
|||
|
||||
CreateParticles();
|
||||
}
|
||||
|
||||
|
||||
public bool UpdateActive { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public void Update(UpdateContext context)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue