FMeshSectionInfo

Per-section settings.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h

Include

#include "Engine/StaticMesh.h"

Syntax

struct FMeshSectionInfo

Remarks

Per-section settings.

Variables

Name Description

Public variable

bool

 

bCastShadow

If true, this section will cast shadows.

Public variable

bool

 

bEnableCollision

If true, collision is enabled for this section.

Public variable

bool

 

bForceOpaque

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

Public variable

int32

 

MaterialIndex

Index in to the Materials array on UStaticMesh.

Constructors

Name Description

Public function

FMeshSectionInfo()

Default values.

Public function

FMeshSectionInfo

(
    int32 InMaterialIndex
)

Default values with an explicit material index.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss