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

#include <StaticMesh.h>

Public Member Functions

 FMeshSectionInfo ()
 
 FMeshSectionInfo (int32 InMaterialIndex)
 

Public Attributes

int32 MaterialIndex
 
bool bEnableCollision
 
bool bCastShadow
 
bool bVisibleInRayTracing
 
bool bAffectDistanceFieldLighting
 
bool bForceOpaque
 

Friends

bool operator== (const FMeshSectionInfo &A, const FMeshSectionInfo &B)
 
bool operator!= (const FMeshSectionInfo &A, const FMeshSectionInfo &B)
 

Detailed Description

Per-section settings.

Constructor & Destructor Documentation

◆ FMeshSectionInfo() [1/2]

FMeshSectionInfo::FMeshSectionInfo ( )
inline

Default values.

◆ FMeshSectionInfo() [2/2]

FMeshSectionInfo::FMeshSectionInfo ( int32  InMaterialIndex)
inlineexplicit

Default values with an explicit material index.

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const FMeshSectionInfo A,
const FMeshSectionInfo B 
)
friend

◆ operator==

bool operator== ( const FMeshSectionInfo A,
const FMeshSectionInfo B 
)
friend

Comparison for mesh section info.

Member Data Documentation

◆ bAffectDistanceFieldLighting

bool FMeshSectionInfo::bAffectDistanceFieldLighting

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

◆ bCastShadow

bool FMeshSectionInfo::bCastShadow

If true, this section will cast shadows.

◆ bEnableCollision

bool FMeshSectionInfo::bEnableCollision

If true, collision is enabled for this section.

◆ bForceOpaque

bool FMeshSectionInfo::bForceOpaque

If true, this section will always considered opaque in ray tracing Geometry.

◆ bVisibleInRayTracing

bool FMeshSectionInfo::bVisibleInRayTracing

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

◆ MaterialIndex

int32 FMeshSectionInfo::MaterialIndex

Index in to the Materials array on UStaticMesh.


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