Click or drag to resize
Ab4d.SharpEngine logo

SpriteEffectCreateNew Method

Creates a new instance of SpriteEffect

Namespace: Ab4d.SharpEngine.Effects
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public static (SpriteEffect effect, DisposeToken disposeToken) CreateNew(
	Scene scene,
	string uniqueEffectName
)

Parameters

scene  Scene
Scene
uniqueEffectName  String
uniqueEffectName

Return Value

ValueTupleSpriteEffect, DisposeToken
new instance of SpriteEffect

Implements

IEffectConstructorTCreateNew(Scene, String)
Exceptions
ExceptionCondition
ArgumentNullException
See Also