UBoundsCopyComponent

Component used to copy the bounds of another Actor.

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Public variable

bool

 

bCopyXBounds

Public variable

bool

 

bCopyYBounds

Public variable

bool

 

bCopyZBounds

Public variable

bool

 

bKeepOwnBoundsScale

If true, the actor's scale will be changed so that after adjustment, its own bounds match the source bounds.

Public variable

TSoftObjectPtr<...

 

BoundsSourceActor

Actor to copy the bounds from to set up the transform.

Public variable

bool

 

bUseCollidingComponentsForOwnBounds

If true, the actor's own bounds will include its colliding components bounds.

Public variable

bool

 

bUseCollidingComponentsForSourceBounds

If true, the source actor's bounds will include its colliding components bounds.

Public variable

FTransform

 

PostTransform

Transform to apply to final result.

Constructors

Name Description

Public function

UBoundsCopyComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

SetRotation()

Copy the rotation from BoundsSourceActor to this component

Public function

void

 

SetTransformToBounds()

Set this component transform to include the BoundsSourceActor bounds

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

IsEditorOnly()

Returns whether this component is an editor-only object or not

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