Navigation
API > API/Editor > API/Editor/ViewportInteraction
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
| Type | Name | Description | |
|---|---|---|---|
| TWeakObjectPtr< class AActor > | ActorWeakPtr | The actual actor object | |
| bool | bShouldBeCarried | Whether this actor should be 'carried' (moved and rotated) when dragged, if possible, instead of only translated |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Sets up safe defaults |
Overridden from FViewportTransformable
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyTransform
(
const FTransform& NewTransform, |
Updates the transform of the actual object | |
| FBox | BuildBoundingBox
(
const FTransform& BoundingBoxToWorld |
Returns the bounding box of this transformable, built in the specified coordinate system | |
| FVector | Get the velocity of the object | ||
| const FTransform | GetTransform () |
Gets the current transform of this object | |
| bool | Returns true if this transformable is a physically simulated kinematic object | ||
| void | SetLinearVelocity
(
const FVector& NewVelocity |
For physically simulated objects, sets the new velocity of the object | |
| bool | Returns true if this transformable should be 'carried' (moved and rotated) when dragged, if possible, instead of only translated | ||
| void | UpdateIgnoredActorList
(
TArray< class AActor* >& IgnoredActors |
For actor transformables, this will add it's actor to the incoming list |