#include <ComposableCameraIndoorSurfaceTypes.h>
Cooked indoor surface query output. It is replaceable runtime data, not a StaticMesh or collision asset.
Public Attributes¶
| Return | Name | Description |
|---|---|---|
TArray< FVector3f > |
Vertices |
Local-space runtime vertices. |
TArray< int32 > |
Indices |
Triangle indices. |
TArray< int32 > |
TriangleLayerIndices |
One layer-array index per triangle. |
FBox |
LocalBounds |
Local bounds of the runtime surface data. |
Public Methods¶
| Return | Name | Description |
|---|---|---|
void |
Reset |
Clears runtime data. |
bool |
IsConsistent const |
Validates triangle/index array shape. |
bool |
QueryLocalRay const |
Finds the first surface along a local-space ray, resolving same-distance layers by priority. |
Vertices¶
TArray< FVector3f > Vertices
Indices¶
TArray< int32 > Indices
TriangleLayerIndices¶
TArray< int32 > TriangleLayerIndices
LocalBounds¶
FBox LocalBounds = FBox(ForceInit)
Reset¶
void Reset()
IsConsistent¶
const
bool IsConsistent() const
QueryLocalRay¶
const
bool QueryLocalRay(
const FVector & LocalOrigin,
const FVector & LocalDirection,
double MaxDistance,
double SameSurfaceTolerance,
TConstArrayView< FComposableCameraIndoorLayerDefinition > Layers,
int32 & OutLayerIndex,
FVector & OutLocalSurfacePosition,
double & OutRayDistance) const