Share via


Renderer.RemoveRootComponent(Int32) Method

Definition

Removes the specified component from the renderer, causing the component and its descendants to be disposed.

protected internal void RemoveRootComponent (int componentId);
member this.RemoveRootComponent : int -> unit
Protected Friend Sub RemoveRootComponent (componentId As Integer)

Parameters

componentId
Int32

The ID of the root component.

Applies to