FVMReflection::operator[]

Array subscript operator, used to access static/dynamic array elements

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilReflection.h

Include

#include "NUTUtilReflection.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/NUTUtilReflection.cpp

Syntax

FVMReflection & operator[]
(
    int32 ArrayElement
)

Remarks

Array subscript operator, used to access static/dynamic array elements

Due to operator precedence, you MUST wrap the accessed property in brackets, like so (FVMReflectior(blah)->*"ArrayProp")["Type"][Element]->*"etc"

Returns

Returns this VM reflector, for operator chaining

Parameters

Parameter

Description

ArrayElement

The array element to access

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