Navigation
API > API/Runtime > API/Runtime/Engine
Allows area weighted sampling of triangles on a skeletal mesh.
| Name | FSkeletalMeshAreaWeightedTriangleSampler |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMeshSampling.h |
| Include Path | #include "Engine/SkeletalMeshSampling.h" |
Syntax
struct FSkeletalMeshAreaWeightedTriangleSampler : public FWeightedRandomSampler
Inheritance Hierarchy
- FWeightedRandomSampler → FSkeletalMeshAreaWeightedTriangleSampler
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSkeletalMeshAreaWeightedTriangleSampler() |
Engine/SkeletalMeshSampling.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
USkeletalMesh* InOwner, |
Engine/SkeletalMeshSampling.h |
Overridden from FWeightedRandomSampler
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float GetWeights
(
TArray< float >& OutWeights |
Gets the weight of all elements and returns their sum. | Engine/SkeletalMeshSampling.h |