11#define STEREO_LAYER_SHAPE_BOILERPLATE(ClassName) \
13 ENGINE_API static const FName ShapeName; \
14 virtual FName GetShapeName() override { return ShapeName; } \
15 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
#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