EMaterialExposedViewProperty

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionViewProperty.h

Include

#include "Materials/MaterialExpressionViewProperty.h"

Syntax

enum EMaterialExposedViewProperty
{
    MEVP_BufferSize,
    MEVP_FieldOfView,
    MEVP_TanHalfFieldOfView,
    MEVP_ViewSize,
    MEVP_WorldSpaceViewPosition,
    MEVP_WorldSpaceCameraPosition,
    MEVP_ViewportOffset,
    MEVP_TemporalSampleCount,
    MEVP_TemporalSampleIndex,
    MEVP_TemporalSampleOffset,
    MEVP_RuntimeVirtualTextureOutputLevel,
    MEVP_RuntimeVirtualTextureOutputDerivative,
    MEVP_MAX,
}

Values

Name

Description

MEVP_BufferSize

Horizontal and vertical size of the view's buffer in pixels

MEVP_FieldOfView

Horizontal and vertical field of view angles in radian

MEVP_TanHalfFieldOfView

Tan(FieldOfView * 0.5)

MEVP_ViewSize

Horizontal and vertical size of the view in pixels

MEVP_WorldSpaceViewPosition

Absolute world space view position (differs from the camera position in the shadow passes)

MEVP_WorldSpaceCameraPosition

Absolute world space camera position

MEVP_ViewportOffset

Horizontal and vertical position of the viewport in pixels within the buffer.

MEVP_TemporalSampleCount

Number of temporal AA sample used across multiple to converge to anti aliased output.

MEVP_TemporalSampleIndex

Index of the Temporal AA jitter for this frame.

MEVP_TemporalSampleOffset

Offset of the temporal sample for this frame in pixel size.

MEVP_RuntimeVirtualTextureOutputLevel

Mip Level that Runtime Virtual Texture Output is rendering to.

MEVP_RuntimeVirtualTextureOutputDerivative

World space derivatives for Runtime Virtual Texture Output.

MEVP_MAX

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback