UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FStaticMeshSection Struct Reference

#include <StaticMeshResources.h>

Public Member Functions

 FStaticMeshSection ()
 

Public Attributes

int32 MaterialIndex
 
uint32 FirstIndex
 
uint32 NumTriangles
 
uint32 MinVertexIndex
 
uint32 MaxVertexIndex
 
bool bEnableCollision
 
bool bCastShadow
 
bool bVisibleInRayTracing
 
bool bAffectDistanceFieldLighting
 
bool bForceOpaque
 

Friends

ENGINE_API friend FArchiveoperator<< (FArchive &Ar, FStaticMeshSection &Section)
 

Detailed Description

A set of static mesh triangles which are rendered with the same material.

Constructor & Destructor Documentation

◆ FStaticMeshSection()

FStaticMeshSection::FStaticMeshSection ( )
inline

Constructor.

Friends And Related Symbol Documentation

◆ operator<<

ENGINE_API friend FArchive & operator<< ( FArchive Ar,
FStaticMeshSection Section 
)
friend

Serializer.

Member Data Documentation

◆ bAffectDistanceFieldLighting

bool FStaticMeshSection::bAffectDistanceFieldLighting

If true, this section will affect lighting methods that use Distance Fields.

◆ bCastShadow

bool FStaticMeshSection::bCastShadow

If true, this section will cast a shadow.

◆ bEnableCollision

bool FStaticMeshSection::bEnableCollision

If true, collision is enabled for this section.

◆ bForceOpaque

bool FStaticMeshSection::bForceOpaque

If true, this section will be considered opaque in ray tracing effects.

◆ bVisibleInRayTracing

bool FStaticMeshSection::bVisibleInRayTracing

If true, this section will be visible in ray tracing effects.

◆ FirstIndex

uint32 FStaticMeshSection::FirstIndex

Range of vertices and indices used when rendering this section.

◆ MaterialIndex

int32 FStaticMeshSection::MaterialIndex

The index of the material with which to render this section.

◆ MaxVertexIndex

uint32 FStaticMeshSection::MaxVertexIndex

◆ MinVertexIndex

uint32 FStaticMeshSection::MinVertexIndex

◆ NumTriangles

uint32 FStaticMeshSection::NumTriangles

The documentation for this struct was generated from the following file: