Vector 4 Mirror by Vector 3

Vector 4 Mirror by Vector 3

Windows
MacOS
Linux

Given a direction vector and a surface normal, returns the vector reflected across the surface normal. Produces a result like shining a laser at a mirror! The W element is ignored.

Target is Kismet Math Library

Vector 4 Mirror by Vector 3
Direction
Surface Normal
Return Value

Inputs

Direction
Vector 4 Structure (by ref)

Direction vector the ray is coming from.

Surface Normal
Vector 4 Structure (by ref)

A normal of the surface the ray should be reflected on.

Outputs

Return Value
Vector 4 Structure

Reflected vector.

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