FVector::ProjectOnToNormal

Gets a copy of this vector projected onto the input vector, which is assumed to be unit length.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Vector.h

Include

#include "Math/Vector.h"

Syntax

FVector ProjectOnToNormal
(
    const FVector & Normal
) const

Remarks

Gets a copy of this vector projected onto the input vector, which is assumed to be unit length.

Returns

Projected vector.

Parameters

Parameter

Description

Normal

Vector to project onto (assumed to be unit length).

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