Navigation
API > API/Runtime > API/Runtime/Engine
Per-section settings.
| Name | FMeshSectionInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h |
| Include Path | #include "Engine/StaticMesh.h" |
Syntax
USTRUCT ()
struct FMeshSectionInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default values. | Engine/StaticMesh.h | ||
FMeshSectionInfo
(
int32 InMaterialIndex |
Default values with an explicit material index. | Engine/StaticMesh.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAffectDistanceFieldLighting | bool | If true, this section will affect lighting methods that use Distance Fields. | Engine/StaticMesh.h | |
| bCastShadow | bool | If true, this section will cast shadows. | Engine/StaticMesh.h | |
| bEnableCollision | bool | If true, collision is enabled for this section. | Engine/StaticMesh.h | |
| bForceOpaque | bool | If true, this section will always considered opaque in ray tracing Geometry. | Engine/StaticMesh.h | |
| bVisibleInRayTracing | bool | If true, this section will be visible in ray tracing Geometry. | Engine/StaticMesh.h | |
| MaterialIndex | int32 | Index in to the Materials array on UStaticMesh. | Engine/StaticMesh.h |