Skip to content
SiteEmail

UCohtmlSystemEngineSubsystem

Inherits from UEngineSubsystem

Name
using TArray< TWeakObjectPtr< UObject > >WeakCohUIHoldersArray
Name
virtual voidInitialize(FSubsystemCollectionBase & Collection) override
virtual voidDeinitialize() override
COHTMLPLUGIN_API voidAdvanceSystem()
COHTMLPLUGIN_API voidSetManualSystemAdvance(bool bManualAdvance)
voidFinishViewFrames(bool bPreviewWorldRendering =false)
voidRegisterComponent(UObject * CohUIHolder)
voidUnregisterComponent(UObject * CohUIHolder)
COHTMLPLUGIN_API WeakCohUIHoldersArray::TIteratorGetCohUIHoldersIterator()
COHTMLPLUGIN_API UCohtmlSystemEngineSubsystem *Get()
COHTMLPLUGIN_API boolIsValid()
COHTMLPLUGIN_API UE::Tasks::FPipe &GetAdvancePipe()
Name
COHTMLPLUGIN_API FPostWorldTickGroupsDelegateOnPostWorldTickGroupsDelegate
using UCohtmlSystemEngineSubsystem::WeakCohUIHoldersArray = TArray<TWeakObjectPtr<UObject> >;
virtual void Initialize(
FSubsystemCollectionBase & Collection
) override
virtual void Deinitialize() override
COHTMLPLUGIN_API void AdvanceSystem()

This method is called once per frame as early as possible, provided the manual System Advance is disabled. When manual System Advance is enabled, clients are expected to call this manually before advancing Cohtml Views.

COHTMLPLUGIN_API void SetManualSystemAdvance(
bool bManualAdvance
)

Enables or disables the manual System Advance.

void FinishViewFrames(
bool bPreviewWorldRendering =false
)

This is called at the last possible moment, to signal that all View Wrappers should queue their current frame data for the Render Thread, so that the next Render frame will call Paint on the Views with it.

  • If the View is in a Game World - called through FCohSceneViewExtension::BeginRenderViewFamily
  • If the View is in a Preview World (like UMG Editor, etc.) - called by UCohtmlSystemEngineSubsystem::OnEndFrame
void RegisterComponent(
UObject * CohUIHolder
)
void UnregisterComponent(
UObject * CohUIHolder
)
COHTMLPLUGIN_API WeakCohUIHoldersArray::TIterator GetCohUIHoldersIterator()
static COHTMLPLUGIN_API UCohtmlSystemEngineSubsystem * Get()
static COHTMLPLUGIN_API bool IsValid()
static inline COHTMLPLUGIN_API UE::Tasks::FPipe & GetAdvancePipe()
static COHTMLPLUGIN_API FPostWorldTickGroupsDelegate OnPostWorldTickGroupsDelegate;

This delegate will be fired after Unreal Engine World Tick groups have finished ticking for each World. Relies on FTickableGameObject and is used for executing logic that needs to happen right after the World Tick groups.