Navigation
API > API/Plugins > API/Plugins/HairStrandsEditor > API/Plugins/HairStrandsEditor/Widgets
Inheritance Hierarchy
- SEditorViewport
- FGCObject
- ICommonEditorViewportToolbarInfoProvider
- SGroomEditorViewport
References
| Module | HairStrandsEditor |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsEditor/Public/Widgets/SGroomEditorViewport.h |
| Include | #include "Widgets/SGroomEditorViewport.h" |
Syntax
class SGroomEditorViewport :
public SEditorViewport,
public FGCObject,
public ICommonEditorViewportToolbarInfoProvider
Remarks
Material Editor Preview viewport widget
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| int32 | |||
| int32 | |||
| bool | IsLODModelSelected
(
int32 InLODSelection |
||
| bool | Event handlers | ||
| void | OnSetLODModel
(
int32 InLODSelection |
||
| void | SetGroomComponent
(
UGroomComponent* GroomComponent |
Set the component to preview. | |
| void | SetSkeletalMeshComponent
(
USkeletalMeshComponent* SkeletalGroomTarget |
Set the mesh on which we are grooming | |
| void | SetStaticMeshComponent
(
UStaticMeshComponent* StaticGroomTarget |
Set the mesh on which we are grooming | |
| void | Event handlers |
Overridden from SEditorViewport
| Type | Name | Description | |
|---|---|---|---|
| void | BindCommands () |
||
| TSharedRef< FEditorViewportClient > | SEditorViewport interface | ||
| TSharedPtr< SWidget > | Implement this to add a viewport toolbar to the inside top of the viewport. | ||
| void | Called when the user wants to focus the viewport to the current selection | ||
| EVisibility | |||
| void | PopulateViewportOverlays
(
TSharedRef< class SOverlay > Overlay |
Implement this to add an arbitrary set of toolbars or other overlays to the inside of the viewport. |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| void | Ticks this widget with Geometry. |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. | |
| FString | Overload this method to report a name for your referencer |
Overridden from ICommonEditorViewportToolbarInfoProvider
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FExtender > | GetExtenders () |
FLevelEditorModule& LevelEditorModule = FModuleManager::GetModuleChecked |
|
| TSharedRef< class SEditorViewport > | Get the viewport widget. | ||
| void | Called to inform the host that a button was clicked (typically used to focus on a particular viewport in a multi-viewport setup) |