UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StereoLayerShapes.h File Reference
#include "CoreMinimal.h"

Go to the source code of this file.

Classes

class  IStereoLayerShape
 
class  FQuadLayer
 
class  FCylinderLayer
 
class  FCubemapLayer
 
class  FEquirectLayer
 

Macros

#define STEREO_LAYER_SHAPE_BOILERPLATE(ClassName)
 

Macro Definition Documentation

◆ STEREO_LAYER_SHAPE_BOILERPLATE

#define STEREO_LAYER_SHAPE_BOILERPLATE (   ClassName)
Value:
public: \
ENGINE_API static const FName ShapeName; \
virtual FName GetShapeName() override { return ShapeName; } \
virtual IStereoLayerShape* Clone() const override { return new ClassName(*this); }
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition NameTypes.h:617
Definition StereoLayerShapes.h:18

Different layer shapes are defined as subclass of ILayerShape. Currently, only FQuadLayer is supported by all platforms, but plugins may define their own custom shapes. When encountering an unsupported shape type, implementations should treat the layer as a quad layer.