UBlendSpace::PreferredTriangulationDirection
#include "Animation/BlendSpace.h"
Access: public
Specifiers: UPROPERTYEditAnywhere
Description
Preferred edge direction the triangulator uses when it has to make an arbitrary choice while splitting rectangular grid cells.
Caveats & Gotchas
- • Only matters for rectangular grid regions where the split is ambiguous — it has no effect on regions where the triangulation is already unambiguous.
- • Tangential (the default) tends to produce edges that don't point toward the origin; Radial does the opposite — picking wrong for your sample layout can make interpolation feel subtly uneven near the center.
Signature
UPROPERTY(EditAnywhere, Category = InputInterpolation) EPreferredTriangulationDirection PreferredTriangulationDirection = EPreferredTriangulationDirection::Tangential; Example
Prefer radial edge splitting C++
MyBlendSpace->PreferredTriangulationDirection = EPreferredTriangulationDirection::Radial; See Also
Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?