Navigation
API > API/Plugins > API/Plugins/PhysicsControlEditor
Inheritance Hierarchy
- FPersonaAssetEditorToolkit
- IHasPersonaToolkit
- FGCObject
- FEditorUndoClient
- FTickableEditorObject
- FPhysicsControlAssetEditor
References
| Module | PhysicsControlEditor |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControlEditor/Public/PhysicsControlAssetEditor.h |
| Include | #include "PhysicsControlAssetEditor.h" |
Syntax
class FPhysicsControlAssetEditor :
public FPersonaAssetEditorToolkit,
public IHasPersonaToolkit,
public FGCObject,
public FEditorUndoClient,
public FTickableEditorObject
Remarks
The main toolkit/editor for working with Physics Control Assets
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsInitialized | Has the asset editor been initialized? | |
| bool | bSelecting | True if in OnTreeSelectionChanged()... protects against infinite recursion | |
| TSharedPtr< IDetailsView > | DetailsView | Asset properties tab. | |
| TSharedPtr< FPhysicsControlAssetEditorData > | EditorData | Data and methods shared across multiple classes | |
| TSharedPtr< IPersonaToolkit > | PersonaToolkit | The persona toolkit. | |
| TSharedPtr< IPersonaViewport > | PersonaViewport | Persona viewport. | |
| FName | PreviouslyInvokedControlProfile | Stored when a control profile is invoked | |
| TSharedPtr< ISkeletonTree > | SkeletonTree | The skeleton tree widget | |
| TSharedPtr< FPhysicsControlAssetEditorSkeletonTreeBuilder > | SkeletonTreeBuilder | The skeleton tree builder | |
| TSharedPtr< FUICommandList_Pinnable > | SkeletonTreeCommandList | Command list for skeleton tree operations | |
| TSharedPtr< FUICommandList_Pinnable > | ViewportCommandList | Command list for viewport operations |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| void | BindCommands () |
||
| void | BuildMenuWidgetBody
(
FMenuBuilder& InMenuBuilder |
||
| void | BuildMenuWidgetSelection
(
FMenuBuilder& InMenuBuilder |
Building the context menus | |
| void | ExtendMenu () |
||
| void | |||
| void | |||
| FText | |||
| TSharedPtr< FPhysicsControlAssetEditorData > | Shared data accessor | ||
| TSharedRef< IPersonaToolkit > | |||
| IPersonaToolkit * | |||
| FString | |||
| FSlateIcon | |||
| FText | |||
| TStatId | GetStatId () |
||
| ETickableTickType | |||
| FName | |||
| FText | |||
| FLinearColor | |||
| FString | |||
| void | HandleDetailsCreated
(
const TSharedRef< class IDetailsView >& InDetailsView |
||
| void | HandleExtendContextMenu
(
FMenuBuilder& InMenuBuilder |
||
| void | HandleExtendFilterMenu
(
FMenuBuilder& InMenuBuilder |
||
| void | HandleGetFilterLabel
(
TArray< FText >& InOutItems |
||
| void | HandlePreviewSceneCreated
(
const TSharedRef< IPersonaPreviewScene >& InPersonaPreviewScene |
Preview scene setup. | |
| void | HandleSelectionChanged
(
const TArrayView< TSharedPtr< ISkeletonTreeItem > >& InSelectedItems, |
||
| void | HandleViewportCreated
(
const TSharedRef< IPersonaViewport >& InPersonaViewport |
||
| void | InitAssetEditor
(
const EToolkitMode::Type Mode, |
Initialize the asset editor. This will register the application mode, init the preview scene, etc. | |
| void | InitToolMenuContext
(
FToolMenuContext& MenuContext |
||
| void | InvokeControlProfile
(
FName ProfileName |
Invokes the control profile with the name, assuming simulation is running | |
| bool | IsCollisionRenderingMode
(
EPhysicsAssetEditorCollisionViewMode Mode, |
||
| bool | |||
| bool | IsConstraintRenderingMode
(
EPhysicsAssetEditorConstraintViewMode Mode, |
||
| bool | |||
| bool | IsMeshRenderingMode
(
EPhysicsAssetEditorMeshViewMode Mode, |
||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| TSharedRef< SWidget > | Make the collision opacity widget | ||
| TSharedRef< SWidget > | Make the constraint scale widget | ||
| void | OnCollisionRenderingMode
(
EPhysicsAssetEditorCollisionViewMode Mode, |
||
| void | OnCompile () |
Toolbar/menu commands. | |
| void | OnConstraintRenderingMode
(
EPhysicsAssetEditorConstraintViewMode Mode, |
||
| void | OnFinishedChangingDetails
(
const FPropertyChangedEvent& PropertyChangedEvent |
||
| void | OnMeshRenderingMode
(
EPhysicsAssetEditorMeshViewMode Mode, |
||
| void | |||
| void | |||
| void | |||
| void | Destroys all existing controls modifiers and then recreates them from the control asset | ||
| void | Repopulates the hierarchy tree view | ||
| void | Refreshes the preview viewport | ||
| void | RegisterTabSpawners
(
const TSharedRef< FTabManager >& InTabManager |
||
| void | Invokes the most recently invoked control profile | ||
| void | |||
| void | Tick
(
float DeltaTime |
||
| void | |||
| void | UnregisterTabSpawners
(
const TSharedRef< FTabManager >& InTabManager |