Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Scene > API/Plugins/ModelingComponents/Scene/FSceneCapturePhotoSet
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Scene/SceneCapturePhotoSet.h |
| Include | #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 &, const FVector3d &)> VisibilityFunction,
int & PhotoIndex,
FVector2d & PhotoCoords
) const
Remarks
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