FStaticMeshSection

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

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/StaticMeshResources.h

Include

#include "StaticMeshResources.h"

Syntax

struct FStaticMeshSection

Remarks

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

Variables

Name Description

Public variable

bool

 

bCastShadow

If true, this section will cast a shadow.

Public variable

bool

 

bEnableCollision

If true, collision is enabled for this section.

Public variable

uint32

 

FirstIndex

Range of vertices and indices used when rendering this section.

Public variable

int32

 

MaterialIndex

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

Public variable

uint32

 

MaxVertexIndex

Public variable

uint32

 

MinVertexIndex

Public variable

uint32

 

NumTriangles

Public variable

float[MAX_STATI...

 

UVDensities

The UV channel density in LocalSpaceUnit / UV Unit.

Public variable

float[MAX_STATI...

 

Weights

The weigths to apply to the UV density, based on the area.

Constructors

Name Description

Public function

FStaticMeshSection()

Constructor.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback