FGeometry::operator=

!!! HACK!!! We're keeping members of [FGeometry](API\Runtime\SlateCore\Layout\FGeometry) const to prevent mutability without making them private, for backward compatibility.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h

Include

#include "Layout/Geometry.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Layout/Geometry.cpp

Syntax

FGeometry & operator=
(
    const FGeometry & RHS
)

Remarks

!!! HACK!!! We're keeping members of FGeometry const to prevent mutability without making them private, for backward compatibility. But this means the assignment operator no longer works. We implement one ourselves now and force a memcpy.

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