FActorViewportTransformable

A transformable actor

Windows
MacOS
Linux

Inheritance Hierarchy

FViewportTransformable

FActorViewportTransformable

References

Module

ViewportInteraction

Header

/Engine/Source/Editor/ViewportInteraction/Public/ActorViewportTransformable.h

Include

#include "ActorViewportTransformable.h"

Syntax

class FActorViewportTransformable : public FViewportTransformable

Remarks

A transformable actor

Variables

Name Description

Public variable

TWeakObjectPtr<...

 

ActorWeakPtr

The actual actor object

Public variable

bool

 

bShouldBeCarried

Whether this actor should be 'carried' (moved and rotated) when dragged, if possible, instead of only translated

Constructors

Name Description

Public function

FActorViewportTransformable()

Sets up safe defaults

Overridden from FViewportTransformable

Name Description

Public function Virtual

void

 

ApplyTransform

(
    const FTransform& NewTransform,
    const bool bSweep
)

Updates the transform of the actual object

Public function Virtual Const

FBox

 

BuildBoundingBox

(
    const FTransform& BoundingBoxToWor...
)

Returns the bounding box of this transformable, built in the specified coordinate system

Public function Virtual Const

FVector

 

GetLinearVelocity()

Get the velocity of the object

Public function Virtual Const

const FTrans...

 

GetTransform()

Gets the current transform of this object

Public function Virtual Const

bool

 

IsPhysicallySimulated()

Returns true if this transformable is a physically simulated kinematic object

Public function Virtual

void

 

SetLinearVelocity

(
    const FVector& NewVelocity
)

For physically simulated objects, sets the new velocity of the object

Public function Virtual Const

bool

 

ShouldBeCarried()

Returns true if this transformable should be 'carried' (moved and rotated) when dragged, if possible, instead of only translated

Public function Virtual

void

 

UpdateIgnoredActorList

(
    TArray< class AActor* >& Igno...
)

For actor transformables, this will add it's actor to the incoming list

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