Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework > API/Plugins/MLDeformerFramework/UMLDeformerComponent
Description
Set the ML Deformer weight. This determines how active the deformer is. You can see it as a blend weight. A value of 0 means it is inactive. Certain calculations will be skipped in that case. A value of 1 means it is fully active. Values between 0 and 1 blend between the two states. Call this after you call SetupComponent.
| Name | SetWeight |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerComponent.h |
| Include Path | #include "MLDeformerComponent.h" |
UFUNCTION (BlueprintCallable, Category="MLDeformer")
void SetWeight
(
float NormalizedWeightValue
)
Parameters
| Name | Remarks |
|---|---|
| NormalizedWeightValue | The weight value. |