Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Baking
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Baking/RenderCaptureFunctions.h |
| Include | #include "Baking/RenderCaptureFunctions.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Baking/RenderCaptureFunctions.cpp |
namespace UE
{
namespace Geometry
{
MODELINGCOMPONENTS_API FRenderCaptureUpdate UE&58;&58;Geometry&58;&58;UpdatePhotoSets
&40;
const TUniquePtr< FSceneCapturePhotoSet > & SceneCapture,
const TArray< TObjectPtr< AActor >> & Actors,
const FRenderCaptureOptions & Options,
bool bAllowCancel
&41;
}
}
Remarks
This function efficiently updates the given SceneCapture and returns a struct indicating which channels were updated
- If the requested Options and Actors have already been captured the call is a no-op
- If the given Options disable existing capture channels then the call just clears the corresponding photo sets
- If the given Options enable a new capture channel then the new photos set are captured and added to the SceneCapture
- If the given Actors are different the ones cached in the SceneCapture, or if the given Options changes a parameter affecting all photo sets (e.g., photo resolution), then all the photo sets are cleared and recomputed