FTransaction::SetPrimaryObject

Sets the transaction's primary object.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ITransaction::SetPrimaryObject()

FTransaction::SetPrimaryObject()

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/Transactor.h

Include

#include "Editor/Transactor.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorTransaction.cpp

Syntax

virtual void SetPrimaryObject
(
    UObject * Object
)

Remarks

Sets the transaction's primary object.

Parameters

Parameter

Description

Object

The primary object to set.