Navigation
API > API/Plugins > API/Plugins/CustomizableObjectEditor > API/Plugins/CustomizableObjectEditor/MuCOE
Inheritance Hierarchy
- FEditorViewportClient
- TSharedFromThis
- FCustomizableObjectEditorViewportClient
References
| Module | CustomizableObjectEditor |
| Header | /Engine/Plugins/Experimental/Mutable/Source/CustomizableObjectEditor/Public/MuCOE/CustomizableObjectEditorViewportClient.h |
| Include | #include "MuCOE/CustomizableObjectEditorViewportClient.h" |
Syntax
class FCustomizableObjectEditorViewportClient :
public FEditorViewportClient,
public TSharedFromThis< FCustomizableObjectEditorViewportClient >
Remarks
Viewport Client for the preview viewport
Variables
| Type | Name | Description | |
|---|---|---|---|
| UPersonaOptions * | ConfigOption | Persona config options |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCustomizableObjectEditorViewportClient
(
TWeakPtr< class ICustomizableObjectInstanceEditor > InCustomizableObjectEditor, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddLightToScene
(
ULightComponent* AddedLight |
Add Light Component to the scene | |
| bool | Returns true if any projector node is currently selected (in the case of the Customizable Object Editor) | ||
| void | BakeInstance
(
UCustomizableObjectInstance* Instance |
Callback for baking the current instance. If nullptr is passed, the instance in the editor will be taken. | |
| void | BakeInstance () |
Callback for baking the current instance. If nullptr is passed, the instance in the editor will be taken. | |
| void | BuildMeanTimesBoxSize
(
const float MinValue, |
Returns in BoxSize and BoxColor the data for drawing the visual clue of the performance test for state enter and parameter update | |
| void | BuildMeanTimesBoxSizes
(
float MaxWidth, |
Returns in ArrayBoxSize and ArrayBoxColor the data for drawing the visual clue of the performance for the state enter and update test | |
| void | Updates the origin data of this gizmo proxy with the information present in GizmoRTSProxy::Value | ||
| void | DrawCylinderArc
(
FPrimitiveDrawInterface* PDI, |
Debug draw a partial cylinder, given by MaxAngle in [0, 2PI] | |
| void | DrawMeshBones
(
UDebugSkelMeshComponent* MeshComponent, |
Draws Mesh Bones in foreground (From: FAnimationViewportClient) | |
| void | DrawShadowedString
(
FCanvas* Canvas, |
Helper method to draw shadowed string on viewport | |
| void | Draws the UV overlay for the current LOD. | ||
| FSphere | Returns the desired target of the camera | ||
| bool | Getter of viewport's environment visibility | ||
| float | Returns the floor height offset | ||
| bool | Getter of viewport's floor visibility | ||
| bool | Getter for LevelViewportClient::GizmoProxy::AssignedDataIsFromNode | ||
| bool | Getter for LevelViewportClient::GizmoProxy::HasAssignedData | ||
| bool | Getter of GizmoRTSProxy::IsProjectorParameterSelected | ||
| FString | Getter for LevelViewportClient::GizmoProxy::ProjectorParameterName | ||
| FString | Getter for LevelViewportClient::GizmoProxy::ProjectorParameterNameWithIndex | ||
| const GizmoRTSProxy & | |||
| bool | Getter of viewport's grid visibility | ||
| bool | Getter for bManipulating | ||
| bool | Getter for StateChangeShowDataFlag | ||
| TArray< FName > | GetTextureParameterNames
(
UMaterial* Material |
Get associated texture parameter names for the material given as parameter | |
| bool | Returns false if the resource has already been duplicated, otherwise, returns true and an unique ResourceName. | ||
| bool | Getter for WidgetVisibility | ||
| bool | |||
| bool | Returns camera mode | ||
| bool | Callback for checking the UV overlay show flag. | ||
| bool | Callback for checking the bounds show flag. | ||
| bool | Callback for checking the collision geometry show flag. | ||
| bool | Callback for checking the grid show flag. | ||
| bool | Callback for checking the pivot show flag. | ||
| bool | Callback for checking the sky show flag. | ||
| bool | Returns true if bones are vibile in viewport | ||
| bool | ManageBakingAction
(
const FString& Path, |
If baking files that already exist, ask the user for permission to overwirte them. | |
| void | OnAssetViewerSettingsChanged
(
const FName& InPropertyName |
Delegate for preview profile is changed (used for updating show flags) | |
| void | To notify of changes in any parameter projector node property in case is the one being used, currently just the projector type parameter is taken into account | ||
| void | To notify of changes in any parameter projector node property in case is the one being used, currently just the projector type parameter is taken into account | ||
| void | RemoveLightFromScene
(
ULightComponent* RemovedLight |
Remove Light component from the scene. use destroy component instead? | |
| void | Set again the animation saved in AnimationBeingPlayed (if any) | ||
| void | ResetCamera () |
Point the camera to the Skeletal Mesh Components. | |
| void | |||
| void | SetAdvancedShowFlagsForScene
(
const bool bAdvancedShowFlags |
Sets up the ShowFlag according to the current preview scene profile | |
| void | SetAnimation
(
UAnimationAsset* Animation, |
||
| void | SetAssetRegistryLoaded
(
bool Value |
Setter of AssetRegistryLoaded | |
| void | SetCameraMode
(
bool Value |
Sets camera mode | |
| void | SetClipMeshVisibility
(
bool bVisible, |
||
| void | SetClipMorphPlaneVisibility
(
bool bVisible, |
||
| void | SetClipMorphPlaneVisibility
(
bool bVisible, |
||
| void | SetCustomizableObject
(
UCustomizableObject* CustomizableObjectParameter |
Setter of CustomizableObject | |
| void | Callback for toggling the UV overlay show flag. | ||
| void | SetDrawUVOverlayMaterial
(
const FString& MaterialName, |
Set the material index whose UVs will be drawn. | |
| void | SetEnvironmentMeshVisibility
(
uint32 Value |
Setter of viewport's environment visibility | |
| void | SetFloorOffset
(
float NewValue |
Sets the floor height offset, saves it to config and invalidates the viewport so it shows up immediately | |
| void | SetFloorVisibility
(
bool Value |
Setter of viewport's floor visibility | |
| void | SetGizmoCallUpdateSkeletalMesh
(
bool Value |
Setter for LevelViewportClient::GizmoProxy::CallUpdateSkeletalMesh | |
| void | SetPreviewComponent
(
UStaticMeshComponent* InPreviewStaticMeshComponent |
||
| void | SetPreviewComponents
(
const TArray< UDebugSkelMeshComponent* >& InPreviewSkeletalMeshComponents |
||
| void | SetProjectorParameterVisibility
(
bool bVisible, |
||
| void | SetProjectorType
(
bool bVisible, |
||
| void | SetProjectorVisibility
(
bool bVisible, |
||
| void | SetProjectorVisibility
(
bool bVisible, |
||
| void | SetProjectorWidgetMode
(
UE::Widget::EWidgetMode InMode |
||
| void | SetReferenceMeshMissingWarningMessage
(
bool bVisible |
Sets an informative message in the viewport warning the user that the CustomizableObject has no reference mesh | |
| void | SetSelectedLight
(
ULightComponent* SelectedLight |
Select/Unselect lights, selected lights can be edited using gizmos | |
| void | SetShowBones () |
Sets the skeletal mesh bones visibility | |
| void | Callback for toggling the bounds show flag. | ||
| void | Callback for toggling the collision geometry show flag. | ||
| void | SetShowGrid () |
Callback for toggling the grid show flag. | |
| void | SetShowPivot () |
Callback for toggling the pivot show flag. | |
| void | SetShowSky () |
Callback for toggling the sky show flag. | |
| void | SetStateChangeShowDataFlag
(
bool Value |
Setter for StateChangeShowDataFlag | |
| void | SetVisibilityForWireframeMode
(
bool bIsWireframeMode |
||
| void | ShowInstanceGeometryInformation
(
FCanvas* InCanvas |
Show pero LOD geometric information of the instance | |
| void | Callback to show / hide instance geometry data. | ||
| void | |||
| void | UpdateFloor () |
||
| void | Update the current gizmo data to its corresponding data origin |
Overridden from FEditorViewportClient
| Type | Name | Description | |
|---|---|---|---|
| bool | CanSetWidgetMode
(
UE::Widget::EWidgetMode NewMode |
Whether or not the new widget mode can be set in this viewport | |
| FLinearColor | |||
| FMatrix | |||
| ECoordSystem | |||
| FVector | |||
| UE::Widget::EWidgetMode | |||
| bool | InputWidgetDelta
(
FViewport* InViewport, |
Called to give the viewport client a chance to handle widgets being moved | |
| void | SetViewportType
(
ELevelViewportType InViewportType |
Set the viewport type of the client | |
| void | SetWidgetCoordSystemSpace
(
ECoordSystem NewCoordSystem |
Sets the coordinate system space to use | |
| void | Tick
(
float DeltaSeconds |
Ticks this viewport client | |
| void | TrackingStarted
(
const FInputEventState& InInputState, |
Called when mouse movement tracking begins | |
| void | Called when mouse movement tracking stops |
Overridden from FViewportClient
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| bool | InputKey
(
const FInputKeyEventArgs& EventArgs |
Check a key event received by the viewport. |
Overridden from FViewElementDrawer
| Type | Name | Description | |
|---|---|---|---|
| void | Draw
(
const FSceneView* View, |
FViewElementDrawer interface |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject interface | |
| FString | Overload this method to report a name for your referencer |