 |
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.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic virtual (T , DisposeToken disposeToken) CreateNew<T>(
string uniqueEffectName
)
where T : Effect, IEffectConstructor<T>
Parameters
- uniqueEffectName String
- effect name (must be unique)
Type Parameters
- T
- type of the effect to create
Return Value
ValueTupleT,
DisposeTokencreated Effect and a DisposeToken that can be used to dispose the effect
See Also