Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h |
Include |
#include "Components/StaticMeshComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/StaticMeshComponent.cpp |
Returns the light and shadow map memory for this primite in its out variables.
Shadow map memory usage is per light whereof lightmap data is independent of number of lights, assuming at least one.
bool true if the mesh has static lighting; false if not
Parameter |
Description |
---|---|
TextureLightMapMemoryUsage |
Estimated memory usage in bytes for light map texel data |
TextureShadowMapMemoryUsage |
Estimated memory usage in bytes for shadow map texel data |
VertexLightMapMemoryUsage |
Estimated memory usage in bytes for light map vertex data |
VertexShadowMapMemoryUsage |
Estimated memory usage in bytes for shadow map vertex data |
StaticLightingResolution |
The StaticLightingResolution used for Texture estimates |
bIsUsingTextureMapping |
Set to true if the mesh is using texture mapping currently; false if vertex |
bHasLightmapTexCoords |
Set to true if the mesh has the proper UV channels |