Click or drag to resize
Ab4d.SharpEngine logo

SceneViewCreateBackgroundSpriteBatch Method

Creates a SpriteBatch that will be rendered before the objects in this SceneView are rendered. SpriteBatch that is created from SceneView object can use relative and absolute coordinates. To remove the created SpriteBatch call the RemoveSpriteBatch(SpriteBatch, Boolean) or RemoveAllSpriteBatches(Boolean) methods. It is also possible to add sprites that are rendered when rendering the Scene - in this case call CreateBackgroundSpriteBatch(String) or CreateOverlaySpriteBatch(String) methods.

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public SpriteBatch CreateBackgroundSpriteBatch(
	string? name = null
)

Parameters

name  String  (Optional)
name of the created SpriteBatch (optional)

Return Value

SpriteBatch
created SpriteBatch
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneView.CreateBackgroundSpriteBatch(System.String)"]

See Also