UModelComponent::ApplyTempElements

Apply all the elements that we were putting into the TempBSPElements map to the Elements arrays in all components

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "Components/ModelComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/ModelLight.cpp

Syntax

static void ApplyTempElements
(
    bool bLightingWasSuccessful
)

Remarks

Apply all the elements that we were putting into the TempBSPElements map to the Elements arrays in all components

Parameters

Parameter

Description

bLightingWasSuccessful

If true, the lighting should be applied, otherwise, the temp lighting should be cleaned up