ISimulationEditorExtender

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

Unreal Engine C++ API Reference > Editor > ClothingSystemEditorInterface

Inheritance Hierarchy

References

   
Module ClothingSystemEditorInterface
Header /Engine/Source/Editor/ClothingSystemEditorInterface/Public/SimulationEditorExtender.h
Include #include "SimulationEditorExtender.h"

Syntax

class ISimulationEditorExtender : public [IModularFeature](API\Runtime\Core\Features\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

Type Name Description
  ~ISimulationEditorExtender ()  

Functions

Type Name Description
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
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
void ExtendViewportShowMenu ( FMenuBuilder& InMenuBuilder, TSharedRef< IPersonaPreviewScene > ... ) Called from the editor to add simulation specific entries to the "Show" menu on the Persona viewport.
UClass * GetSupportedSimulationFactoryClass () Called to identify the type of clothing simulation this editor extender can support.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library