Navigation
API > API/Runtime > API/Runtime/Renderer
A mesh which is defined by a primitive at scene segment construction time and never changed. Lights are attached and detached as the segment containing the mesh is added or removed from a scene.
| Name | FStaticMeshBatch |
| Type | class |
| Header File | /Engine/Source/Runtime/Renderer/Public/StaticMeshBatch.h |
| Include Path | #include "StaticMeshBatch.h" |
Syntax
class FStaticMeshBatch : public FMeshBatch
Inheritance Hierarchy
- FMeshBatch → FStaticMeshBatch
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStaticMeshBatch
(
const FStaticMeshBatch& InStaticMesh |
Private copy constructor. | StaticMeshBatch.h | |
FStaticMeshBatch
(
FPrimitiveSceneInfo* InPrimitiveSceneInfo, |
Constructor/destructor. | StaticMeshBatch.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FStaticMeshBatch() |
StaticMeshBatch.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Id | int32 | The index of the mesh in the scene's static meshes array. | StaticMeshBatch.h | |
| PrimitiveSceneInfo | FPrimitiveSceneInfo * | The render info for the primitive which created this mesh. | StaticMeshBatch.h |