Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FStaticMeshSceneProxy
- FPrimitiveSceneProxy::GetPrimitiveDistance()
- FStaticMeshSceneProxy::GetPrimitiveDistance()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/StaticMeshSceneProxy.h |
Include | #include "StaticMeshSceneProxy.h" |
Source | /Engine/Source/Runtime/Engine/Private/StaticMeshRender.cpp |
virtual bool GetPrimitiveDistance
&40;
int32 LODIndex,
int32 SectionIndex,
const FVector & ViewOrigin,
float & PrimitiveDistance
&41; const
Remarks
Get primitive distance to view origin for a given LOD-section. Whether distance was computed or not
Parameters
Name | Description |
---|---|
LODIndex | LOD index (INDEX_NONE for all) |
ElementIndex | Element index (INDEX_NONE for all) |
PrimitiveDistance | (OUT) LOD-section distance to view |