Navigation
API > API/Editor > API/Editor/StatsViewer
Statistics page for primitives.
| Name | UPrimitiveStats |
| Type | class |
| Header File | /Engine/Source/Editor/StatsViewer/Classes/PrimitiveStats.h |
| Include Path | #include "PrimitiveStats.h" |
Syntax
UCLASS (Transient, MinimalAPI,
Meta=(DisplayName="Primitive Stats", ObjectSetType="EPrimitiveObjectSets"))
class UPrimitiveStats : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPrimitiveStats
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPrimitiveStats
(
const FObjectInitializer& ObjectInitializer |
PrimitiveStats.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Actors | TArray< TWeakObjectPtr< AActor > > | Actor(s) that use the resource - click to select & zoom Actor(s) | PrimitiveStats.h |
|
| Count | int32 | Number of occurrences in map | PrimitiveStats.h |
|
| HWInstances | int32 | Hardware instances | PrimitiveStats.h |
|
| InstSections | int32 | Instanced section count of mesh | PrimitiveStats.h |
|
| InstTriangles | int32 | Triangle count of all mesh occurances (Count * Tris) | PrimitiveStats.h |
|
| InstVertexColorMem | float | Per component vertex color stat for static meshes in KB | PrimitiveStats.h |
|
| LightMapData | float | Light map data in KB | PrimitiveStats.h |
|
| LightsLM | int32 | Average number of lightmap lights relevant to each instance | PrimitiveStats.h |
|
| LightsOther | float | Average number of other lights relevant to each instance | PrimitiveStats.h |
|
| LightsTotal | float | (Avg OL + Avg LM) / Count | PrimitiveStats.h |
|
| LMSMResolution | float | Light/shadow map resolution | PrimitiveStats.h |
|
| Object | TWeakObjectPtr< UObject > | Resource (e.g. UStaticMesh, USkeletalMesh, UModelComponent, UTerrainComponent, etc | PrimitiveStats.h |
|
| ObjLightCost | float | Avg OL * Sections | PrimitiveStats.h |
|
| RadiusAvg | double | Average radius of bounding sphere of instance in map | PrimitiveStats.h |
|
| RadiusMax | double | Maximum radius of bounding sphere of instance in map | PrimitiveStats.h |
|
| RadiusMin | double | Minimum radius of bounding sphere of instance in map | PrimitiveStats.h |
|
| ResourceSize | float | Resource size in KB | PrimitiveStats.h |
|
| Sections | int32 | Section count of mesh | PrimitiveStats.h | |
| Triangles | int32 | Triangle count of mesh | PrimitiveStats.h |
|
| Type | FString | Type name | PrimitiveStats.h |
|
| VertexColorMem | float | Vertex color stat for static and skeletal meshes in KB | PrimitiveStats.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateNames() |
Update internal strings | PrimitiveStats.h |