Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/FSceneCapturePhotoSet
Description
If ValidSampleDepthThreshold > 0 then the VisibilityFunction and the DeviceDepthPhotoSet will be used to determine sample validity. Using DeviceDepthPhotoSet will mitigate artefacts caused by samples which cannot be determined invalid by querying only the VisibilityFunction. If ValidSampleDepthThreshold <= 0 only VisibilityFunction will be used to determine sample validity
| Name | ComputeSampleLocation |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Scene/SceneCapturePhotoSet.h |
| Include Path | #include "Scene/SceneCapturePhotoSet.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Scene/SceneCapturePhotoSet.cpp |
bool ComputeSampleLocation
(
const FVector3d & Position,
const FVector3d & Normal,
float ValidSampleDepthThreshold,
TFunctionRef < bool> VisibilityFunction,
int & PhotoIndex,
FVector2d & PhotoCoords
) const