FTickableCookObject

The same as [FTickableEditorObject](API\Editor\UnrealEd\FTickableEditorObject), but for systems that need to be ticked periodically during cooking.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FTickableObjectBase

FTickableCookObject

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/TickableEditorObject.h

Include

#include "TickableEditorObject.h"

Syntax

class FTickableCookObject : public FTickableObjectBase

Remarks

The same as FTickableEditorObject, but for systems that need to be ticked periodically during cooking. If a system needs to be cooked both during cook commandlet and in editor without the cook commandlet, it should dual-inherit from both FTickableCookObject and FTickableEditorObject. TODO: Reduce duplication between FTickableCookObject and FTickableEditorObject.

Constructors

Name Description

Public function

FTickableCookObject()

Registers this instance with the static array of tickable objects.

Destructors

Name Description

Public function Virtual

~FTickableCookObject()

Removes this instance from the static array of tickable objects.

Functions

Name Description

Public function

void

 

TickCook

(
    float DeltaTime,
    bool bCookCompete
)

Public function Static

void

 

TickObjects

(
    const float DeltaSeconds,
    bool bCookComplete
)

Constants

Name

Description

bCollectionIntact

True if collection of tickable objects is still intact.

bIsTickingObjects

True if currently ticking of tickable editor objects.

ObjectBeingTicked

Set if we are in the Tick function for an editor tickable object