Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Occlusion ←NsdkOcclusionExtension

OnAddRenderComponent

Invoked when a new component is being added to the renderer.

Declaration​

protected override bool OnAddRenderComponent(RenderComponent component)

Summary​

Invoked when a new component is being added to the renderer.

Returns​

Whether the component is eligible to run on this renderer.

Parameters​

NameTypeSummary
componentRenderComponent
The component to be added.