| IAssetEditorInstance | ||||
| FBaseToolkit | ||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Editor/StaticMeshEditor/Public/IStaticMeshEditor.h |
Include |
#include "IStaticMeshEditor.h" |
class IStaticMeshEditor : public FAssetEditorToolkit
Public interface to Static Mesh Editor
Name | Description | ||
---|---|---|---|
|
OnStaticMeshEditorDockingExtentionTabs |
Name | Description | ||
---|---|---|---|
|
void |
AddSelectedPrim ( |
Adds primitive information to the selected prims list |
|
void |
BroadcastOnSelectedLODChanged() |
Broadcast when selected LOD changes |
|
bool |
CalcSelectedPrimsAABB ( |
Calculates the bounding box of our selected primitives |
|
void |
ClearSelectedPrims() |
Removes all primitive data from the list |
|
int32 |
CopySelectedPrims() |
Copy all the selected primitives to clipboard |
|
void |
DoDecomp ( |
This is called when Apply is pressed in the dialog. Does the actual processing. |
|
void |
DuplicateSelectedPrims ( |
Duplicates all the selected primitives and selects them |
|
void |
DuplicateSelectedSocket() |
Duplicate the selected socket |
|
int32 |
GetCurrentLODIndex() |
Retrieves the current LOD index |
|
int32 |
GetCurrentLODLevel() |
Retrieves the current LOD level. 0 is auto, 1 is base. |
|
int32 |
GetCurrentUVChannel() |
Retrieves the currently selected UV channel. |
|
int32 |
GetCustomData ( |
Retrieve editor custom data. Return INDEX_NONE if the key is invalid |
|
bool |
GetLastSelectedPrimTransform ( |
Fetches the transform of the last primitive to be selected |
|
int32 |
GetNumTriangles ( |
Retrieves the number of triangles in the current static mesh or it's forced LOD. |
|
int32 |
GetNumUVChannels ( |
Retrieves the number of UV channels available. |
|
int32 |
GetNumVertices ( |
Retrieves the number of vertices in the current static mesh or it's forced LOD. |
|
FTransform |
GetPrimTransform ( |
Gets the transform of the specified primitive |
|
TSet< int32 ... |
GetSelectedEdges() |
Retrieves the selected edge set. |
|
UStaticMeshS... |
GetSelectedSocket() |
Retrieves the currently selected socket from the Socket Manager. |
|
UStaticMesh ... |
GetStaticMesh() |
Retrieves the current static mesh displayed in the Static Mesh Editor. |
|
UStaticMeshC... |
GetStaticMeshComponent() |
Retrieves the static mesh component. |
|
EViewModeInd... |
GetViewMode() |
Get the active view mode |
|
FEditorViewp... |
GetViewportClient() |
Get the Static Mesh Editor's the viewport client |
|
bool |
HasSelectedPrims() |
Checks to see if any prims are selected |
|
bool |
IsPrimValid ( |
Checks to see if the prim data is valid compared with the static mesh |
|
bool |
IsSelectedPrim ( |
Checks to see if the parsed primitive data is selected |
|
FRegisterTab... |
OnRegisterTabSpawners() |
|
|
FStaticMeshE... |
OnStaticMeshEditorClosed() |
|
|
IStaticMeshE... |
OnStaticMeshEditorDockingExtentionTabs() |
|
|
FUnregisterT... |
OnUnregisterTabSpawners() |
|
|
int32 |
PasteCopiedPrims() |
Paste all the selected primitives from clipboard |
|
void |
RefreshTool() |
Refreshes everything in the Static Mesh Editor. |
|
void |
RefreshViewport() |
Refreshes the Static Mesh Editor's viewport. |
|
void |
RegisterOnPostUndo ( |
Registers a delegate to be called after an Undo operation |
|
void |
RegisterOnSelectedLODChanged ( |
Register callback to be able to be notify when the select LOD is change |
|
void |
RemoveInvalidPrims() |
Removes all invalid primitives from the list |
|
void |
RemoveSelectedPrim ( |
Removes primitive information to the selected prims list |
|
void |
RequestRenameSelectedSocket() |
Requests to rename selected socket |
|
void |
RotateSelectedPrims ( |
Rotates the selected primitives by the specified amount |
|
void |
ScaleSelectedPrims ( |
Scales the selected primitives by the specified amount |
|
void |
SetCustomData ( |
Store the custom data using the key. |
|
void |
SetPrimTransform ( |
Sets the transform of the specified primitive |
|
void |
SetSecondaryToolbarDisplayName ( |
Set the display name for the secondary toolbar and its associated menu item |
|
void |
SetSelectedSocket ( |
Set the currently selected socket in the Socket Manager. |
|
void |
TranslateSelectedPrims ( |
Translates the selected primitives by the specified amount |
|
void |
UnregisterOnPostUndo ( |
Unregisters a delegate to be called after an Undo operation |
|
void |
UnRegisterOnSelectedLODChanged ( |
Unregister callback to free up the ressources |
Name |
Description |
|
---|---|---|
|
FPrimData |
Primitive data use to track which aggregate geometry is selected |
|
FRegisterTabSpawnersEvent |
Delegate to be called when the tabs are being registered |
|
FStaticMeshEditorClosedEvent |
|
|
FStaticMeshEditorDockingExtentionTabsEvent |
|
|
FUnregisterTabSpawnersEvent |
Delegate to be called when the tabs are being unregistered |
Name |
Description |
---|---|
FOnPostUndo |
Post undo. |
FOnPostUndoMulticaster |
Called after an undo is performed to give child widgets a chance to refresh. |