UPrimitiveComponent::ShouldComponentAddToScene

Looking at various values of the component, determines if this component should be added to the scene

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp

Syntax

bool ShouldComponentAddToScene() const

Remarks

Looking at various values of the component, determines if this component should be added to the scene

Returns

true if the component is visible and should be added to the scene, false otherwise

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss