Summary
Adds a layer to the scene.
- Namespace
- Avalonia
.Rendering .SceneGraph - Containing Type
- SceneLayers
Syntax
public SceneLayer Add(IVisual layerRoot)
Parameters
Name | Type | Description |
---|---|---|
layerRoot | IVisual | The root visual of the layer. |
Return Value
Type | Description |
---|---|
SceneLayer | The created layer. |