Navigation
API > API/Runtime > API/Runtime/Engine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLODMask ComputeLODForMeshes
(
const TArray< class FStaticMeshBatchRelevance >& StaticMeshRelevances, |
Computes the LOD to render for the list of static meshes in the given view. | SceneManagement.h | |
FLODMask ComputeLODForMeshes
(
const TArray< class FStaticMeshBatchRelevance >& StaticMeshRelevances, |
Computes the LOD to render for the list of static meshes in the given view. | SceneManagement.h |
ComputeLODForMeshes(const TArray< class FStaticMeshBatchRelevance > &, const FSceneView &, const FVector4 &, float, int32, float &, int8, float, bool)
Description
Computes the LOD to render for the list of static meshes in the given view.
| Name | ComputeLODForMeshes |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneManagement.h |
| Include Path | #include "SceneManagement.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SceneManagement.cpp |
FLODMask ComputeLODForMeshes
(
const TArray < class FStaticMeshBatchRelevance > & StaticMeshRelevances,
const FSceneView & View,
const FVector4 & Origin,
float SphereRadius,
int32 ForcedLODLevel,
float & OutScreenRadiusSquared,
int8 CurFirstLODIdx,
float ScreenSizeScale,
bool bDitheredLODTransition
)
Parameters
| Name | Remarks |
|---|---|
| StaticMeshes | List of static meshes. |
| View | The view to render the LOD level for |
| Origin | Origin of the bounds of the primitive in world space |
| SphereRadius | Radius of the sphere bounds of the primitive in world space |
ComputeLODForMeshes(const TArray< class FStaticMeshBatchRelevance > &, const FSceneView &, const FVector4 &, float, float, int32, float &, int8, float)
Description
Computes the LOD to render for the list of static meshes in the given view.
| Name | ComputeLODForMeshes |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneManagement.h |
| Include Path | #include "SceneManagement.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SceneManagement.cpp |
FLODMask ComputeLODForMeshes
(
const TArray < class FStaticMeshBatchRelevance > & StaticMeshRelevances,
const FSceneView & View,
const FVector4 & Origin,
float SphereRadius,
float InstanceSphereRadius,
int32 ForcedLODLevel,
float & OutScreenRadiusSquared,
int8 CurFirstLODIdx,
float ScreenSizeScale
)
Parameters
| Name | Remarks |
|---|---|
| StaticMeshes | List of static meshes. |
| View | The view to render the LOD level for |
| Origin | Origin of the bounds of the primitive in world space |
| SphereRadius | Radius of the sphere bounds of the primitive in world space |
| InstanceSphereRadius | Radius of the sphere bounds for a single mesh instance in the primitive. If not 0.f then the return FLODMask will contain a range of LODs ready for LOD selection on the GPU |