FRay::FRay

Initialize Ray with origin and direction

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Ray.h"

Syntax

FRay
(
    const FVector & Origin,
    const FVector & Direction,
    bool bDirectionIsNormalized
)

Remarks

Initialize Ray with origin and direction

Parameters

Parameter

Description

Origin

Ray Origin Point

Direction

Ray Direction Vector

bDirectionIsNormalized

Direction will be normalized unless this is passed as true (default false)

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