Navigation
API > API/Plugins > API/Plugins/PhysicsControlEditor
Inheritance Hierarchy
- IPersonaEditMode
- FPhysicsControlAssetEditorEditMode
References
| Module | PhysicsControlEditor |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControlEditor/Public/PhysicsControlAssetEditorEditMode.h |
| Include | #include "PhysicsControlAssetEditorEditMode.h" |
Syntax
class FPhysicsControlAssetEditorEditMode : public IPersonaEditMode
Remarks
The Physics Control Asset Editor edit mode.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLastClickHit | ||
| float | DragX | ||
| float | DragY | ||
| TSharedPtr< FPhysicsControlAssetEditorData > | EditorData | ||
| FVector | LastClickDirection | ||
| FVector | LastClickHitNormal | ||
| FVector | LastClickHitPos | ||
| FVector | LastClickOrigin | ||
| FIntPoint | LastClickPos | For mouse forces TODO Danny surely this doesn't need to be here unless its actually shared! | |
| TWeakPtr< FPhysicsControlAssetEditor > | PhysicsControlAssetEditor | ||
| UFont * | PhysicsControlAssetEditorFont | Font used for drawing debug text to the viewport | |
| FVector | SimGrabLocation | ||
| float | SimGrabMinPush | ||
| const float | SimGrabMoveSpeed | ||
| float | SimGrabPush | Simulation mouse forces | |
| FVector | SimGrabX | ||
| FVector | SimGrabY | ||
| FVector | SimGrabZ | ||
| const float | SimHoldDistanceChangeDelta | Misc consts | |
| const float | SimMinHoldDistance | ||
| TArray< FTransform > | StartManChildConTM | ||
| TArray< FTransform > | StartManParentConTM | ||
| TArray< FTransform > | StartManRelConTM | For interacting with the asset while the simulation is running |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| void | DrawHUD
(
FEditorViewportClient* ViewportClient, |
||
| void | Exit () |
||
| IPersonaPreviewScene & | |||
| bool | GetCameraTarget
(
FSphere& OutTarget |
||
| void | GetOnScreenDebugInfo
(
TArray< FText >& OutDebugInfo |
||
| bool | HandleClick
(
FEditorViewportClient* InViewportClient, |
||
| void | HitNothing
(
FEditorViewportClient* InViewportClient |
Called when no scene proxy is hit, deselects everything | |
| bool | |||
| bool | InputKey
(
FEditorViewportClient* ViewportClient, |
||
| bool | IsCompatibleWith
(
FEditorModeID OtherModeID |
||
| bool | LostFocus
(
FEditorViewportClient* ViewportClient, |
||
| void | OpenBodyMenu
(
FEditorViewportClient* InViewportClient |
||
| void | OpenSelectionMenu
(
FEditorViewportClient* InViewportClient |
||
| bool | ReceivedFocus
(
FEditorViewportClient* ViewportClient, |
||
| void | Render
(
const FSceneView* View, |
||
| void | SetEditorData
(
const TSharedRef< FPhysicsControlAssetEditor > InPhysicsControlAssetEditor, |
||
| bool | |||
| void | SimMouseMove
(
FEditorViewportClient* InViewportClient, |
||
| bool | SimMousePress
(
FEditorViewportClient* InViewportClient, |
Simulation mouse forces | |
| bool | |||
| bool | SimMouseWheelDown
(
FEditorViewportClient* InViewportClient |
||
| bool | SimMouseWheelUp
(
FEditorViewportClient* InViewportClient |
||
| void | Tick
(
FEditorViewportClient* ViewportClient, |
||
| bool | |||
| bool | UsesTransformWidget
(
UE::Widget::EWidgetMode CheckMode |
Constants
| Name | Description |
|---|---|
| ModeName | The name of the mode. |