Navigation
API > API/Plugins > API/Plugins/Mover
PlanarConstraintUtils: a collection of stateless static BP-accessible functions for working with planar constraints
| Name | UPlanarConstraintUtils |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/ConstrainedMoveUtils.h |
| Include Path | #include "MoveLibrary/ConstrainedMoveUtils.h" |
Syntax
UCLASS (MinimalAPI)
class UPlanarConstraintUtils : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UPlanarConstraintUtils
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FVector ConstrainDirectionToPlane
(
const FPlanarConstraint& Constraint, |
Constrains a direction to be on the plane, if enabled | MoveLibrary/ConstrainedMoveUtils.h |
|
static FVector ConstrainLocationToPlane
(
const FPlanarConstraint& Constraint, |
Constrains a location to be on the plane, if enabled | MoveLibrary/ConstrainedMoveUtils.h |
|
static FVector ConstrainNormalToPlane
(
const FPlanarConstraint& Constraint, |
Constrains a normal to be on the plane, if enabled. Result will be re-normalized. | MoveLibrary/ConstrainedMoveUtils.h |
|
static void SetPlanarConstraintEnabled
(
UPARAM(ref) FPlanarConstraint& Constraint, |
Sets whether or not the constraint is enabled | MoveLibrary/ConstrainedMoveUtils.h |
|
static void SetPlanarConstraintNormal
(
UPARAM(ref) FPlanarConstraint& Constraint, |
Sets the normal of the plane that constrains movement, enforced if the plane constraint is enabled. | MoveLibrary/ConstrainedMoveUtils.h |
|
static void SetPlaneConstraintOrigin
(
UPARAM(ref) FPlanarConstraint& Constraint, |
Sets the origin of the plane that constrains movement, enforced if the plane constraint is enabled. | MoveLibrary/ConstrainedMoveUtils.h |
|