Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UBoundsCopyComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/BoundsCopyComponent.h |
Include | #include "Components/BoundsCopyComponent.h" |
Syntax
class UBoundsCopyComponent : public UActorComponent
Remarks
Component used to copy the bounds of another Actor.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bCopyXBounds | |
![]() |
bool | bCopyYBounds | |
![]() |
bool | bCopyZBounds | |
![]() |
bool | bKeepOwnBoundsScale | If true, the actor's scale will be changed so that after adjustment, its own bounds match the source bounds. |
![]() |
TSoftObjectPtr< AActor > | BoundsSourceActor | Actor to copy the bounds from to set up the transform. |
![]() |
bool | bUseCollidingComponentsForOwnBounds | If true, the actor's own bounds will include its colliding components bounds. |
![]() |
bool | bUseCollidingComponentsForSourceBounds | If true, the source actor's bounds will include its colliding components bounds. |
![]() |
FTransform | PostTransform | Transform to apply to final result. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UBoundsCopyComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | SetRotation () |
Copy the rotation from BoundsSourceActor to this component |
![]() |
void | Set this component transform to include the BoundsSourceActor bounds |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | IsEditorOnly () |
Returns whether this component is an editor-only object or not |