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