Navigation
API > API/Editor > API/Editor/ViewportInteraction
Inheritance Hierarchy
- FViewportTransformable
- FActorViewportTransformable
References
| Module | ViewportInteraction |
| Header | /Engine/Source/Editor/ViewportInteraction/Public/ViewportTransformable.h |
| Include | #include "ViewportTransformable.h" |
Syntax
class FViewportTransformable
Remarks
Represents an object that we're actively interacting with, such as a selected actor
Variables
| Type | Name | Description | |
|---|---|---|---|
| FTransform | StartTransform | The object's world space transform when we started the action |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Sets up safe defaults |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| 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 | ||
| bool | 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. | ||
| 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 |