ISimulationEditorExtender

A simulation extender is an object responsible for extending certain editor features with respect to a certain type of clothing simulation.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IModularFeature

ISimulationEditorExtender

References

Module

ClothingSystemEditorInterface

Header

/Engine/Source/Editor/ClothingSystemEditorInterface/Public/SimulationEditorExtender.h

Include

#include "SimulationEditorExtender.h"

Syntax

class ISimulationEditorExtender : public IModularFeature

Remarks

A simulation extender is an object responsible for extending certain editor features with respect to a certain type of clothing simulation. The supported simulation factory class should be returned from GetSupportedSimulationFactoryClass. The engine will call into various interface functions to perform editor functions as outlined in the interface API As this is a modular feature it should be registered under FClothingSystemEditorInterfaceModule::ExtenderFeatureName To be accessible through the clothing editor interface module.

Destructors

Name Description

Public function Virtual

~ISimulationEditorExtender()

Functions

Name Description

Public function

void

 

DebugDrawSimulation

(
    const IClothingSimulation* InS...,
    USkeletalMeshComponent* InOwne...,
    FPrimitiveDrawInterface* PDI
)

Called from the editor when clothing is active to process any active debug drawing, recommended to use the show menu extension for controlling what data to draw

Public function

void

 

DebugDrawSimulationTexts

(
    const IClothingSimulation* InS...,
    USkeletalMeshComponent* InOwne...,
    FCanvas* Canvas,
    const FSceneView* SceneView
)

Called from the editor when clothing is active to process any active debug drawing of any text strings Recommended to use the show menu extension for controlling what data to draw

Public function

void

 

ExtendViewportShowMenu

(
    FMenuBuilder& InMenuBuilder,
    TSharedRef< IPersonaPreviewScene > ...
)

Called from the editor to add simulation specific entries to the "Show" menu on the Persona viewport.

Public function

UClass *

 

GetSupportedSimulationFactoryClass()

Called to identify the type of clothing simulation this editor extender can support.