UBlendSpace::IsValidAdditiveType
#include "Animation/BlendSpace.h"
Access: public
Specifiers: virtualconst
Description
Returns whether AdditiveType is compatible with this blend space's configured additive setup.
Caveats & Gotchas
- • Used when validating or importing samples to catch mismatched additive types (e.g. mixing local-space and mesh-space additive samples) before they cause blending artifacts.
Signature
virtual bool IsValidAdditiveType(EAdditiveAnimationType AdditiveType) const Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| AdditiveType | EAdditiveAnimationType | Additive animation type to test for compatibility. | — |
Return Type
bool Example
Validating a sample's additive type C++
if (!BlendSpaceAsset->IsValidAdditiveType(AAT_LocalSpaceBase))
{
UE_LOG(LogTemp, Warning, TEXT("Sample additive type incompatible with this blend space"));
} See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?