UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StereoLayerShapes.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
11#define STEREO_LAYER_SHAPE_BOILERPLATE(ClassName) \
12public: \
13 ENGINE_API static const FName ShapeName; \
14 virtual FName GetShapeName() override { return ShapeName; } \
15 virtual IStereoLayerShape* Clone() const override { return new ClassName(*this); }
16
18{
19public:
21 virtual FName GetShapeName() = 0;
22 virtual IStereoLayerShape* Clone() const = 0;
23 virtual ~IStereoLayerShape() {}
24};
25
31
49
55
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define STEREO_LAYER_SHAPE_BOILERPLATE(ClassName)
Definition StereoLayerShapes.h:11
Definition StereoLayerShapes.h:52
Definition StereoLayerShapes.h:34
float Height
Definition StereoLayerShapes.h:47
FCylinderLayer(float InRadius, float InOverlayArc, float InHeight)
Definition StereoLayerShapes.h:39
float OverlayArc
Definition StereoLayerShapes.h:46
float Radius
Definition StereoLayerShapes.h:45
FCylinderLayer()
Definition StereoLayerShapes.h:38
Definition StereoLayerShapes.h:58
FVector2D RightScale
Definition StereoLayerShapes.h:83
FBox2D RightUVRect
Definition StereoLayerShapes.h:77
float Radius
Definition StereoLayerShapes.h:92
FEquirectLayer()
Definition StereoLayerShapes.h:62
FEquirectLayer(FBox2D InLeftUVRect, FBox2D InRightUVRect, FVector2D InLeftScale, FVector2D InRightScale, FVector2D InLeftBias, FVector2D InRightBias, float InRadius)
Definition StereoLayerShapes.h:63
FVector2D RightBias
Definition StereoLayerShapes.h:89
FVector2D LeftBias
Definition StereoLayerShapes.h:86
FVector2D LeftScale
Definition StereoLayerShapes.h:80
FBox2D LeftUVRect
Definition StereoLayerShapes.h:74
Definition NameTypes.h:617
Definition StereoLayerShapes.h:28
Definition StereoLayerShapes.h:18
virtual ~IStereoLayerShape()
Definition StereoLayerShapes.h:23
virtual FName GetShapeName()=0
virtual IStereoLayerShape * Clone() const =0