UHeadMountedDisplayFunctionLibrary::SetClippingPlanes

Sets near and far clipping planes (NCP and FCP) for stereo rendering.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayFunctionLibrary.h

Include

#include "HeadMountedDisplayFunctionLibrary.h"

Source

/Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayFunctionLibrary.cpp

Syntax

static void SetClippingPlanes
(
    float Near,
    float Far
)

Remarks

Sets near and far clipping planes (NCP and FCP) for stereo rendering. Similar to 'stereo ncp= fcp' console command, but NCP and FCP set by this call won't be saved in .ini file.

Parameters

Parameter

Description

Near

(in) Near clipping plane, in centimeters

Far

(in) Far clipping plane, in centimeters

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