Navigation
API > API/Editor > API/Editor/ViewportInteraction
Represents an object that we're actively interacting with, such as a selected actor
| Name | FViewportTransformable |
| Type | class |
| Header File | /Engine/Source/Editor/ViewportInteraction/Public/ViewportTransformable.h |
| Include Path | #include "ViewportTransformable.h" |
Syntax
class FViewportTransformable
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FViewportTransformable() |
Sets up safe defaults | ViewportTransformable.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FViewportTransformable() |
ViewportTransformable.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| StartTransform | FTransform | The object's world space transform when we started the action | ViewportTransformable.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyTransform
(
const FTransform& NewTransform, |
Updates the transform of the actual object | ViewportTransformable.h | |
FBox BuildBoundingBox
(
const FTransform& BoundingBoxToWorld |
Returns the bounding box of this transformable, built in the specified coordinate system | ViewportTransformable.h | |
virtual FVector GetLinearVelocity() |
Get the velocity of the object | ViewportTransformable.h | |
const FTransform GetTransform() |
Gets the current transform of this object | ViewportTransformable.h | |
virtual bool IsPhysicallySimulated() |
Returns true if this transformable is a physically simulated kinematic object | ViewportTransformable.h | |
virtual bool IsUnorientedPoint() |
Returns true if this transformable is a single, unoriented point in space, thus never supports being rotated or scaled when only a single transformable is selected. | ViewportTransformable.h | |
virtual void SetLinearVelocity
(
const FVector& NewVelocity |
For physically simulated objects, sets the new velocity of the object | ViewportTransformable.h | |
virtual bool ShouldBeCarried() |
Returns true if this transformable should be 'carried' (moved and rotated) when dragged, if possible, instead of only translated | ViewportTransformable.h | |
| For actor transformables, this will add it's actor to the incoming list | ViewportTransformable.h |