FRay::GetParameter

Calculate ray parameter (distance from origin to closest point) for query Point

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Ray.h"

Syntax

float GetParameter
(
    const FVector & Point
) const

Remarks

Calculate ray parameter (distance from origin to closest point) for query Point

Returns

distance along ray from origin to closest point

Parameters

Parameter

Description

Point

query Point

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