Reference for .Net version of SpaceVIL  0.3.5.8
SpaceVIL (Space of Visual Items Layout) is a cross-platform and multilingual framework for creating GUI client applications for .NET Standard, .NET Core and JVM. SpaceVIL is based on OpenGL graphic technology and GLFW. Using this framework in conjunction with .Net Core or with a JVM, you can work and create graphical client applications on Linux, Mac OS X and Windows.
SpaceVIL.Decorations.Effects Class Reference

Effects is a static class for controlling the application of effects to a item's shape. More...

Static Public Member Functions

static void AddEffect (IBaseItem item, IEffect effect)
 Adding effect to specified item. More...
 
static bool RemoveEffect (IBaseItem item, IEffect effect)
 Removing specified effect form item. More...
 
static List< IEffectGetEffects (IBaseItem item)
 Getting list of applyed effects on specified item. More...
 

Detailed Description

Effects is a static class for controlling the application of effects to a item's shape.

Member Function Documentation

◆ AddEffect()

static void SpaceVIL.Decorations.Effects.AddEffect ( IBaseItem  item,
IEffect  effect 
)
static

Adding effect to specified item.

Parameters
itemA item as SpaceVIL.Core.IBaseItem.
effectA effect as SpaceVIL.Core.IEffect.

◆ GetEffects()

static List<IEffect> SpaceVIL.Decorations.Effects.GetEffects ( IBaseItem  item)
static

Getting list of applyed effects on specified item.

Parameters
itemAn item as SpaceVIL.Core.IBaseItem.
Returns
List of effects of specified item as List<SpaceVIL.Core.IEffect>.

◆ RemoveEffect()

static bool SpaceVIL.Decorations.Effects.RemoveEffect ( IBaseItem  item,
IEffect  effect 
)
static

Removing specified effect form item.

Parameters
itemA item as SpaceVIL.Core.IBaseItem.
effectA effect as SpaceVIL.Core.IEffect.
Returns
True: if such effect is presented and removed. False: if item has no such effect.

The documentation for this class was generated from the following file: