FScriptArrayHelper::Num

Static version of [Num()](API\Runtime\CoreUObject\UObject\FScriptArrayHelper\Num\1) used when you don't need to bother to construct a [FScriptArrayHelper](API\Runtime\CoreUObject\UObject\FScriptArrayHelper).

Windows
MacOS
Linux

Deprecated

  • This shortcut is no longer valid - the Num() should be read from a proper array helper

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h

Include

#include "UObject/UnrealType.h"

Syntax

static int32 Num
(
    const void * Target
)

Remarks

Static version of Num() used when you don't need to bother to construct a FScriptArrayHelper. Returns the number of elements in the array.

Returns

The number of elements in the array.

Parameters

Parameter

Description

Target

pointer to the raw memory associated with a FScriptArray

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss