IDisplayClusterProjectionPolicy::CalculateView

Windows
MacOS
Linux

References

Module

DisplayCluster

Header

/Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Projection/IDisplayClusterProjectionPolicy.h

Include

#include "Render/Projection/IDisplayClusterProjectionPolicy.h"

Syntax

bool CalculateView
(
    class IDisplayClusterViewport * InViewport,
    const uint32 InContextNum,
    FVector & InOutViewLocation,
    FRotator & InOutViewRotation,
    const FVector & ViewOffset,
    const float WorldToMeters,
    const float NCP,
    const float FCP
)

Returns

  • True if success

Parameters

Parameter

Description

ViewIdx

Index of view that is being processed for this viewport

InOutViewLocation

(in/out) View location with ViewOffset (i.e. left eye pre-computed location)

InOutViewRotation

(in/out) View rotation

ViewOffset

Offset applied ot a camera location that gives us InOutViewLocation (i.e. right offset in world to compute right eye location)

WorldToMeters

Current world scale (units (cm) in meter)

NCP

Distance to the near clipping plane

FCP

Distance to the far clipping plane

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