RealDocs

UKismetSystemLibrary::SetInt64PropertyByName

function Engine Blueprint Since 4.0
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticUFUNCTIONBlueprintCallable

Description

Sets a named int64 property on Object to Value via reflection. Internal helper the Blueprint compiler generates for dynamic property-set nodes; not intended to be called directly.

Caveats & Gotchas

  • Marked BlueprintInternalUseOnly, so it never appears in the Blueprint node picker — the compiler emits a call to it automatically when a Blueprint node writes to this property type by name; you can't drag it onto a graph directly.
  • Only matches properties declared as int64 (FInt64Property) — it will not write into a regular int32 property even though the value would fit; the call silently no-ops instead.

Signature

static ENGINE_API void SetInt64PropertyByName(UObject* Object, FName PropertyName, int64 Value)

Parameters

Name Type Description Default
Object UObject* Object instance whose property will be modified.
PropertyName FName Name of the target property, resolved via FindFProperty against Object's class.
Value int64 Value to assign to the property.

Return Type

void

Example

Set an int64 property by name from C++ C++
UKismetSystemLibrary::SetInt64PropertyByName(TargetActor, FName("TotalScore"), 9000000000LL);

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.