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

HasRenderComponent

Checks if the specified render component is present on this renderer.

Declaration​

protected bool HasRenderComponent<TComponent>() where TComponent : RenderComponent

Summary​

Checks if the specified render component is present on this renderer.

Returns​

Whether the component is present on this renderer.

Type parameter TComponent​

The type of the render component to look for.