AActor::OnConstruction

Called when an instance of this class is placed (in editor) or spawned.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h

Include

#include "GameFramework/Actor.h"

Syntax

virtual void OnConstruction
(
    const FTransform & Transform
)

Remarks

Called when an instance of this class is placed (in editor) or spawned.

Parameters

Parameter

Description

Transform

The transform the actor was constructed at.