Navigation
API > API/Editor > API/Editor/ViewportInteraction
A transformable actor
| Name | FActorViewportTransformable |
| Type | class |
| Header File | /Engine/Source/Editor/ViewportInteraction/Public/ActorViewportTransformable.h |
| Include Path | #include "ActorViewportTransformable.h" |
Syntax
class FActorViewportTransformable : public FViewportTransformable
Inheritance Hierarchy
- FViewportTransformable → FActorViewportTransformable
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FActorViewportTransformable() |
Sets up safe defaults | ActorViewportTransformable.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorWeakPtr | TWeakObjectPtr< class AActor > | The actual actor object | ActorViewportTransformable.h | |
| bShouldBeCarried | bool | Whether this actor should be 'carried' (moved and rotated) when dragged, if possible, instead of only translated | ActorViewportTransformable.h |
Functions
Public
Overridden from FViewportTransformable
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyTransform
(
const FTransform& NewTransform, |
Updates the transform of the actual object | ActorViewportTransformable.h | |
virtual FBox BuildBoundingBox
(
const FTransform& BoundingBoxToWorld |
Returns the bounding box of this transformable, built in the specified coordinate system | ActorViewportTransformable.h | |
virtual FVector GetLinearVelocity() |
Get the velocity of the object | ActorViewportTransformable.h | |
virtual const FTransform GetTransform() |
Gets the current transform of this object | ActorViewportTransformable.h | |
virtual bool IsPhysicallySimulated() |
Returns true if this transformable is a physically simulated kinematic object | ActorViewportTransformable.h | |
virtual void SetLinearVelocity
(
const FVector& NewVelocity |
For physically simulated objects, sets the new velocity of the object | ActorViewportTransformable.h | |
virtual bool ShouldBeCarried() |
Returns true if this transformable should be 'carried' (moved and rotated) when dragged, if possible, instead of only translated | ActorViewportTransformable.h | |
| For actor transformables, this will add it's actor to the incoming list | ActorViewportTransformable.h |