SceneLayers.

Remove(SceneLayer) Method

Summary

Removes a layer from the scene.
Namespace
Avalonia.Rendering.SceneGraph
Containing Type
SceneLayers

Syntax

public bool Remove(SceneLayer layer)

Parameters

Name Type Description
layer SceneLayer The layer.

Return Value

Type Description
bool True if the layer was part of the scene, otherwise false.