Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Common ←CompositeRenderer

AddRenderComponent

Creates and adds the specified render component for this renderer.

Declaration​

protected bool AddRenderComponent<TComponent>() where TComponent : RenderComponent, new()

Summary​

Creates and adds the specified render component for this renderer.

Returns​

Whether the component was successfully added.

Type parameter TComponent​

The type of the render component to add.