|
| SLATECORE_API | FGeometry () |
| |
| | FGeometry (const FGeometry &RHS)=default |
| |
| SLATECORE_API FGeometry & | operator= (const FGeometry &RHS) |
| |
| | FGeometry (const UE::Slate::FDeprecateVector2DParameter &OffsetFromParent, const UE::Slate::FDeprecateVector2DParameter &ParentAbsolutePosition, const UE::Slate::FDeprecateVector2DParameter &InLocalSize, float InScale) |
| |
| bool | operator== (const FGeometry &Other) const |
| |
| bool | operator!= (const FGeometry &Other) const |
| |
| FGeometry | MakeChild (const UE::Slate::FDeprecateVector2DParameter &InLocalSize, const FSlateLayoutTransform &LayoutTransform, const FSlateRenderTransform &RenderTransform, const UE::Slate::FDeprecateVector2DParameter &RenderTransformPivot) const |
| |
| FORCEINLINE_DEBUGGABLE FGeometry | MakeChild (const UE::Slate::FDeprecateVector2DParameter &InLocalSize, const FSlateLayoutTransform &LayoutTransform) const |
| |
| FORCEINLINE_DEBUGGABLE FGeometry | MakeChild (const FSlateRenderTransform &RenderTransform, const UE::Slate::FDeprecateVector2DParameter &RenderTransformPivot=FVector2f(0.5f, 0.5f)) const |
| |
| FArrangedWidget | MakeChild (const TSharedRef< SWidget > &ChildWidget, const FLayoutGeometry &LayoutGeometry) const |
| |
| FArrangedWidget | MakeChild (const TSharedRef< SWidget > &ChildWidget, const UE::Slate::FDeprecateVector2DParameter &InLocalSize, const FSlateLayoutTransform &LayoutTransform) const |
| |
| FArrangedWidget | MakeChild (const TSharedRef< SWidget > &ChildWidget, const UE::Slate::FDeprecateVector2DParameter &ChildOffset, const UE::Slate::FDeprecateVector2DParameter &InLocalSize, float ChildScale=1.0f) const |
| |
| FORCEINLINE_DEBUGGABLE FPaintGeometry | ToPaintGeometry () const |
| |
| FORCEINLINE_DEBUGGABLE FPaintGeometry | ToPaintGeometry (const UE::Slate::FDeprecateVector2DParameter &InLocalSize, const FSlateLayoutTransform &InLayoutTransform) const |
| |
| FORCEINLINE_DEBUGGABLE FPaintGeometry | ToPaintGeometry (const UE::Slate::FDeprecateVector2DParameter &InLocalSize, const FSlateLayoutTransform &InLayoutTransform, const FSlateRenderTransform &RenderTransform, const UE::Slate::FDeprecateVector2DParameter &RenderTransformPivot=FVector2f(0.5f, 0.5f)) const |
| |
| FORCEINLINE_DEBUGGABLE FPaintGeometry | ToPaintGeometry (const FSlateLayoutTransform &LayoutTransform) const |
| |
| FPaintGeometry | ToOffsetPaintGeometry (const UE::Slate::FDeprecateVector2DParameter &LocalOffset) const |
| |
| FPaintGeometry | ToInflatedPaintGeometry (const UE::Slate::FDeprecateVector2DParameter &InflateAmount) const |
| |
| bool | IsUnderLocation (const UE::Slate::FDeprecateVector2DParameter &AbsoluteCoordinate) const |
| |
| FORCEINLINE_DEBUGGABLE UE::Slate::FDeprecateVector2DResult | AbsoluteToLocal (UE::Slate::FDeprecateVector2DParameter AbsoluteCoordinate) const |
| |
| UE::Slate::FDeprecateVector2DResult | LocalToAbsolute (UE::Slate::FDeprecateVector2DParameter LocalCoordinate) const |
| |
| UE::Slate::FDeprecateVector2DResult | LocalToRoundedLocal (UE::Slate::FDeprecateVector2DParameter LocalCoordinate) const |
| |
| FORCEINLINE_DEBUGGABLE FSlateRect | GetLayoutBoundingRect () const |
| |
| FORCEINLINE_DEBUGGABLE FSlateRect | GetLayoutBoundingRect (const FMargin &LocalSpaceExtendBy) const |
| |
| FORCEINLINE_DEBUGGABLE FSlateRect | GetLayoutBoundingRect (const FSlateRect &LocalSpaceRect) const |
| |
| FORCEINLINE_DEBUGGABLE FSlateRect | GetRenderBoundingRect () const |
| |
| FORCEINLINE_DEBUGGABLE FSlateRect | GetRenderBoundingRect (const FMargin &LocalSpaceExtendBy) const |
| |
| FORCEINLINE_DEBUGGABLE FSlateRect | GetRenderBoundingRect (const FSlateRect &LocalSpaceRect) const |
| |
| SLATECORE_API FString | ToString () const |
| |
| UE::Slate::FDeprecateVector2DResult | GetDrawSize () const |
| |
| UE::Slate::FDeprecateVector2DResult | GetLocalSize () const |
| |
| const FSlateRenderTransform & | GetAccumulatedRenderTransform () const |
| |
| FSlateLayoutTransform | GetAccumulatedLayoutTransform () const |
| |
| FORCEINLINE_DEBUGGABLE void | AppendTransform (const FSlateLayoutTransform &LayoutTransform) |
| |
| UE::Slate::FDeprecateVector2DResult | GetAbsolutePosition () const |
| |
| UE::Slate::FDeprecateVector2DResult | GetAbsoluteSize () const |
| |
| UE::Slate::FDeprecateVector2DResult | GetAbsolutePositionAtCoordinates (const UE::Slate::FDeprecateVector2DParameter &NormalCoordinates) const |
| |
| UE::Slate::FDeprecateVector2DResult | GetLocalPositionAtCoordinates (const UE::Slate::FDeprecateVector2DParameter &NormalCoordinates) const |
| |
| bool | HasRenderTransform () const |
| |
Represents the position, size, and absolute position of a Widget in Slate. The absolute location of a geometry is usually screen space or window space depending on where the geometry originated. Geometries are usually paired with a SWidget pointer in order to provide information about a specific widget (see FArrangedWidget). A Geometry's parent is generally thought to be the Geometry of the the corresponding parent widget.
- Examples
- /work/Engine/Source/Runtime/UMG/Public/Components/Widget.h.
!!! DEPRECATED !!! These legacy public members should ideally not be referenced, as they do not account for the render transform. FGeometry manipulation should be done in local space as much as possible so logic can be done in aligned local space, but still support arbitrary render transforms.
This member has been made const to prevent mutation, which would also break render transforms, which are computed during construction. There is no way to easily detect mutation of public members, thus no way to update the render transforms when they are modified.
Position in absolute space. Equivalent to the translation of the accumulated layout transform.
Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.
| const float FGeometry::Scale |
!!! DEPRECATED !!! These legacy public members should ideally not be referenced, as they do not account for the render transform. FGeometry manipulation should be done in local space as much as possible so logic can be done in aligned local space, but still support arbitrary render transforms.
This member has been made const to prevent mutation, which would also break render transforms, which are computed during construction. There is no way to easily detect mutation of public members, thus no way to update the render transforms when they are modified.
Scale in absolute space. Equivalent to the scale of the accumulated layout transform.
Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.