TFrame3::ConstrainedAlignAxis

Compute rotation around vector that best-aligns axis of frame with target direction

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/FrameTypes.h

Include

#include "FrameTypes.h"

Syntax

void ConstrainedAlignAxis
(
    int AxisIndex,
    const FVector3< RealType > & ToDirection,
    const FVector3< RealType > & AroundVector
)

Remarks

Compute rotation around vector that best-aligns axis of frame with target direction

Parameters

Parameter

Description

AxisIndex

which axis to try to align

ToDirection

target direction

AroundVector

rotation is constrained to be around this vector (ie this direction in frame stays constant)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss