FSkeletalMeshAreaWeightedTriangleSampler

Allows area weighted sampling of triangles on a skeletal mesh.

Windows
MacOS
Linux

Inheritance Hierarchy

FWeightedRandomSampler

FSkeletalMeshAreaWeightedTriangleSampler

References

Module

Engine

Header

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

Include

#include "Engine/SkeletalMeshSampling.h"

Syntax

struct FSkeletalMeshAreaWeightedTriangleSampler : public FWeightedRandomSampler

Remarks

Allows area weighted sampling of triangles on a skeletal mesh.

Variables

Name Description

Protected variable

int32

 

LODIndex

Protected variable

USkeletalMesh &...

 

Owner

Data used in initialization of the sampler. Not serialized.

Protected variable

TArray< int32 >...

 

TriangleIndices

Constructors

Functions

Name Description

Public function Virtual

float

 

GetWeights

(
    TArray< float >& OutWeights
)

Public function

void

 

Init

(
    USkeletalMesh* InOwner,
    int32 LODIndex,
    TArray< int32 >* InTriangleInd...
)

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