Click or drag to resize
Ab4d.SharpEngine logo

EffectsManagerCreateNewT Method

Creates a new effect of the specified effect type and with the specified name (must be unique). The methods returns the created Effect and a DisposeToken that can be used to dispose the effect.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public virtual (T , DisposeToken disposeToken) CreateNew<T>(
	string uniqueEffectName
)
where T : Effect

Parameters

uniqueEffectName  String
effect name (must be unique)

Type Parameters

T
type of the effect to create

Return Value

ValueTupleT, DisposeToken
created Effect and a DisposeToken that can be used to dispose the effect
See Also