![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Components/StaticMeshComponent.h"#include "BodySetupEnums.h"#include "Modules/ModuleManager.h"#include "Engine/MapBuildDataRegistry.h"#include "MaterialShared.h"#include "Materials/Material.h"#include "Misc/ConfigCacheIni.h"#include "RenderUtils.h"#include "StateStream/StaticMeshStateStream.h"#include "UObject/ObjectSaveContext.h"#include "SceneInterface.h"#include "UObject/Package.h"#include "UObject/FortniteMainBranchObjectVersion.h"#include "UObject/FortniteSeasonBranchObjectVersion.h"#include "Engine/CollisionProfile.h"#include "ContentStreaming.h"#include "ComponentReregisterContext.h"#include "UObject/UObjectAnnotation.h"#include "UnrealEngine.h"#include "EngineUtils.h"#include "StaticMeshComponentLODInfo.h"#include "StaticMeshResources.h"#include "StaticMeshSceneProxy.h"#include "NaniteSceneProxy.h"#include "Net/Core/PushModel/PushModel.h"#include "Net/UnrealNetwork.h"#include "Logging/MessageLog.h"#include "Misc/UObjectToken.h"#include "Misc/MapErrors.h"#include "LightMap.h"#include "ShadowMap.h"#include "AI/Navigation/NavCollisionBase.h"#include "Engine/StaticMeshSocket.h"#include "AI/NavigationSystemBase.h"#include "AI/Navigation/NavigationRelevantData.h"#include "PhysicsEngine/BodySetup.h"#include "ComponentRecreateRenderStateContext.h"#include "Engine/StaticMesh.h"#include "MaterialDomain.h"#include "Rendering/NaniteResources.h"#include "NaniteVertexFactory.h"#include "StaticMeshSceneProxyDesc.h"#include "VT/MeshPaintVirtualTexture.h"#include "WorldPartition/ActorInstanceGuids.h"#include "Rendering/NaniteResourcesHelper.h"#include "MeshComponentHelper.h"#include "StaticMeshComponentHelper.h"#include "MaterialCache/MaterialCacheVirtualTexture.h"Macros | |
| #define | LOCTEXT_NAMESPACE "StaticMeshComponent" |
Functions | |
| DECLARE_MEMORY_STAT (TEXT("StaticMesh VxColor Inst Mem"), STAT_InstVertexColorMemory, STATGROUP_MemoryStaticMesh) | |
| DECLARE_MEMORY_STAT (TEXT("StaticMesh PreCulled Index Memory"), STAT_StaticMeshPreCulledIndexMemory, STATGROUP_MemoryStaticMesh) | |
| FGuid | GetMapDataIdForLOD (const FGuid &LOD0Guid, uint32 LodIndex) |
| FAutoConsoleVariableRef | CKeepOverrideVertexColorsOnCPU (TEXT("r.KeepOverrideVertexColorsOnCPU"), GKeepKeepOverrideVertexColorsOnCPU, TEXT("Keeps a CPU copy of override vertex colors. May be required for some blueprints / object spawning."), ECVF_Scalability|ECVF_RenderThreadSafe) |
| FArchive & | operator<< (FArchive &Ar, FStaticMeshComponentLODInfo &I) |
Variables | |
| int32 | GKeepKeepOverrideVertexColorsOnCPU = 1 |
| #define LOCTEXT_NAMESPACE "StaticMeshComponent" |
| FAutoConsoleVariableRef CKeepOverrideVertexColorsOnCPU | ( | TEXT("r.KeepOverrideVertexColorsOnCPU") | , |
| GKeepKeepOverrideVertexColorsOnCPU | , | ||
| TEXT("Keeps a CPU copy of override vertex colors. May be required for some blueprints / object spawning.") | , | ||
| ECVF_Scalability| | ECVF_RenderThreadSafe | ||
| ) |
| DECLARE_MEMORY_STAT | ( | TEXT("StaticMesh PreCulled Index Memory") | , |
| STAT_StaticMeshPreCulledIndexMemory | , | ||
| STATGROUP_MemoryStaticMesh | |||
| ) |
| DECLARE_MEMORY_STAT | ( | TEXT("StaticMesh VxColor Inst Mem") | , |
| STAT_InstVertexColorMemory | , | ||
| STATGROUP_MemoryStaticMesh | |||
| ) |
| FArchive & operator<< | ( | FArchive & | Ar, |
| FStaticMeshComponentLODInfo & | I | ||
| ) |
Serializer.
| int32 GKeepKeepOverrideVertexColorsOnCPU = 1 |