Navigation
API > API/Editor > API/Editor/MaterialEditor
Unreal material editor actions
| Name | FMaterialEditorCommands |
| Type | class |
| Header File | /Engine/Source/Editor/MaterialEditor/Public/MaterialEditorActions.h |
| Include Path | #include "MaterialEditorActions.h" |
Syntax
class FMaterialEditorCommands : public TCommands< FMaterialEditorCommands >
Inheritance Hierarchy
- TCommands< FMaterialEditorCommands > → FMaterialEditorCommands
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMaterialEditorCommands() |
MaterialEditorActions.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AddToFavorites | TSharedPtr< FUICommandInfo > | Adds the selected expression to your favorites | MaterialEditorActions.h | |
| AlwaysRefreshAllPreviews | TSharedPtr< FUICommandInfo > | Always refresh all previews when enabled | MaterialEditorActions.h | |
| Apply | TSharedPtr< FUICommandInfo > | Material Editor Commands Applys the following material to the world | MaterialEditorActions.h | |
| BreakAllLinks | TSharedPtr< FUICommandInfo > | Breaks all outgoing links on the selected node | MaterialEditorActions.h | |
| BreakLink | TSharedPtr< FUICommandInfo > | Deletes the selected link | MaterialEditorActions.h | |
| CameraHome | TSharedPtr< FUICommandInfo > | Canvas Commands Moves the canvas camera to the home position | MaterialEditorActions.h | |
| CleanUnusedExpressions | TSharedPtr< FUICommandInfo > | Removes any unused nodes | MaterialEditorActions.h | |
| ConvertNamedRerouteToReroute | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| ConvertObjects | TSharedPtr< FUICommandInfo > | Converts selected objects to parameters | MaterialEditorActions.h | |
| ConvertRerouteToNamedReroute | TSharedPtr< FUICommandInfo > | Conversion between reroute nodes and local variables | MaterialEditorActions.h | |
| ConvertToConstant | TSharedPtr< FUICommandInfo > | Converts selected objects to constants | MaterialEditorActions.h | |
| ConvertToTextureObjects | TSharedPtr< FUICommandInfo > | Converts selected texture type into another | MaterialEditorActions.h | |
| ConvertToTextureSamples | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| CreateComponentMaskNode | TSharedPtr< FUICommandInfo > | Create component mask node | MaterialEditorActions.h | |
| CreateHorizontalMixNode | TSharedPtr< FUICommandInfo > | Create horizontal mix node | MaterialEditorActions.h | |
| CreateRerouteUsageFromDeclaration | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| CreateSelectNode | TSharedPtr< FUICommandInfo > | Create select node | MaterialEditorActions.h | |
| CreateSlabNode | TSharedPtr< FUICommandInfo > | Create slab node | MaterialEditorActions.h | |
| CreateVerticalLayerNode | TSharedPtr< FUICommandInfo > | Create vertical layer node | MaterialEditorActions.h | |
| CreateWeightNode | TSharedPtr< FUICommandInfo > | Create weight node | MaterialEditorActions.h | |
| DeleteObjects | TSharedPtr< FUICommandInfo > | Deletes all selected objects | MaterialEditorActions.h | |
| DeletePin | TSharedPtr< FUICommandInfo > | Delete Pin | MaterialEditorActions.h | |
| DisableRealtimePreviewNode | TSharedPtr< FUICommandInfo > | Disables realtime previewing of this node | MaterialEditorActions.h | |
| DuplicateObjects | TSharedPtr< FUICommandInfo > | Duplicates all selected objects | MaterialEditorActions.h | |
| EnableRealtimePreviewNode | TSharedPtr< FUICommandInfo > | Enables realtime previewing of this node | MaterialEditorActions.h | |
| FeatureLevel_All | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| FeatureLevel_Mobile | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| FeatureLevel_SM5 | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| FeatureLevel_SM6 | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| FindInMaterial | TSharedPtr< FUICommandInfo > | Finds expressions in current material | MaterialEditorActions.h | |
| Flatten | TSharedPtr< FUICommandInfo > | Flattens the material to a texture for mobile devices | MaterialEditorActions.h | |
| ForceRefreshPreviews | TSharedPtr< FUICommandInfo > | Forces a refresh of all previews | MaterialEditorActions.h | |
| MatertialPasteHere | TSharedPtr< FUICommandInfo > | Pastes the copied items at the current location | MaterialEditorActions.h | |
| NewComment | TSharedPtr< FUICommandInfo > | Creates a new comment node | MaterialEditorActions.h | |
| PreviewHoveredNode | TSharedPtr< FUICommandInfo > | Previews the currently-hovered node | MaterialEditorActions.h | |
| PromoteToDouble | TSharedPtr< FUICommandInfo > | Convert the selected parameters from 'float' to 'double' | MaterialEditorActions.h | |
| PromoteToFloat | TSharedPtr< FUICommandInfo > | Convert the selected parameters from 'double' to 'float' | MaterialEditorActions.h | |
| PromoteToParameter | TSharedPtr< FUICommandInfo > | Promote pin to parameter | MaterialEditorActions.h | |
| QualityLevel_All | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| QualityLevel_Epic | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| QualityLevel_High | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| QualityLevel_Low | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| QualityLevel_Medium | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| RemoveFromFavorites | TSharedPtr< FUICommandInfo > | Removes the selected expression from your favorites | MaterialEditorActions.h | |
| ResetToDefault | TSharedPtr< FUICommandInfo > | Reset pin to default value | MaterialEditorActions.h | |
| SelectDownstreamNodes | TSharedPtr< FUICommandInfo > | Selects all nodes that use the selected node's outgoing links | MaterialEditorActions.h | |
| SelectNamedRerouteDeclaration | TSharedPtr< FUICommandInfo > | Local variables select helpers | MaterialEditorActions.h | |
| SelectNamedRerouteUsages | TSharedPtr< FUICommandInfo > | MaterialEditorActions.h | ||
| SelectUpstreamNodes | TSharedPtr< FUICommandInfo > | Selects all nodes that use the selected node's incoming links | MaterialEditorActions.h | |
| SetCubePreview | TSharedPtr< FUICommandInfo > | Sets the preview mesh to a cube | MaterialEditorActions.h | |
| SetCylinderPreview | TSharedPtr< FUICommandInfo > | Preview Pane Commands Sets the preview mesh to a cylinder | MaterialEditorActions.h | |
| SetPlanePreview | TSharedPtr< FUICommandInfo > | Sets the preview mesh to a plane | MaterialEditorActions.h | |
| SetPreviewMeshFromSelection | TSharedPtr< FUICommandInfo > | Sets the preview mesh to the current selection in the level editor | MaterialEditorActions.h | |
| SetSpherePreview | TSharedPtr< FUICommandInfo > | Sets the preview mesh to a sphere | MaterialEditorActions.h | |
| ShowAllMaterialParameters | TSharedPtr< FUICommandInfo > | Material Instance Editor Commands Toggles between showing all the material parameters or not | MaterialEditorActions.h | |
| ShowHideConnectors | TSharedPtr< FUICommandInfo > | Shows or hides unused connectors | MaterialEditorActions.h | |
| StartPreviewNode | TSharedPtr< FUICommandInfo > | Makes the selected node be previewed in the viewport | MaterialEditorActions.h | |
| StopPreviewNode | TSharedPtr< FUICommandInfo > | Stops a node from being previewed in the viewport | MaterialEditorActions.h | |
| ToggleHideUnrelatedNodes | TSharedPtr< FUICommandInfo > | Fade nodes which are not connected to the selected nodes. | MaterialEditorActions.h | |
| ToggleLivePreview | TSharedPtr< FUICommandInfo > | Toggles live updating of the preview material. | MaterialEditorActions.h | |
| ToggleMaterialStats | TSharedPtr< FUICommandInfo > | Toggles the material stats on the canvas pane | MaterialEditorActions.h | |
| TogglePlatformStats | TSharedPtr< FUICommandInfo > | Shows material stats and errors for multiple shader platforms. | MaterialEditorActions.h | |
| TogglePreviewBackground | TSharedPtr< FUICommandInfo > | Toggles the preview pane's background | MaterialEditorActions.h | |
| ToggleRealtimeExpressions | TSharedPtr< FUICommandInfo > | Toggles real time expression nodes | MaterialEditorActions.h | |
| UseCurrentTexture | TSharedPtr< FUICommandInfo > | Uses the texture in the content browser for the selected node | MaterialEditorActions.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RegisterCommands() |
Initialize commands | MaterialEditorActions.h |