Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkinnedMeshComponent
Description
Register an external set of GPU compressed morph targets. These compressed morph targets are GPU only morph targets that will not appear inside the UI and are owned by external systems. Every set of these morph targets has some unique ID.
| Name | AddExternalMorphSet |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h |
| Include Path | #include "Components/SkinnedMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp |
void AddExternalMorphSet
(
int32 LOD,
int32 ID,
TSharedPtr < FExternalMorphSet > MorphSet
)
Parameters
| Name | Remarks |
|---|---|
| LOD | The LOD index. |
| ID | The unique ID for this set of morph targets. |
| MorphSet | A shared pointer to a morph set, which basically contains a GPU friendly morph buffer. This buffer should be owned by an external system that calls this method. |