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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.EffectsManager.CreateNew``1(System.String)"]

See Also