FSkeletalMeshSamplingRegion

Defined a named region on a mesh that will have associated triangles and bones for fast sampling at each enabled LOD.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMeshSampling.h

Include

#include "Engine/SkeletalMeshSampling.h"

Syntax

struct FSkeletalMeshSamplingRegion

Remarks

Defined a named region on a mesh that will have associated triangles and bones for fast sampling at each enabled LOD.

Variables

Name Description

Public variable

TArray< FSkelet...

 

BoneFilters

Filters to determine which triangles and bones to include in this region based on bone.

Public variable

uint32: 1

 

bSupportUniformlyDistributedSampling

Mesh supports uniformly distributed sampling in constant time. Memory cost is 8 bytes per triangle.

Public variable

int32

 

LODIndex

The LOD of the mesh that this region applies to.

Public variable

TArray< FSkelet...

 

MaterialFilters

Filters to determine which triangles to include in this region based on material.

Public variable

FName

 

Name

Name of this region that users will reference.

Constructors

Functions

Name Description

Public function

void

 

GetFilteredBones

(
    FReferenceSkeleton& RefSkel,
    TArray< int32 >& OutIncludedBoneIn...,
    TArray< int32 >& OutExcludedBoneIn...
)

Directly included vertices from a future painting tool.

Public function

bool

 

IsMaterialAllowed

(
    FName MaterialName
)

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