Torque3D Documentation / _generateds / EngineFunctionDefaultArguments

EngineFunctionDefaultArguments

Engine/source/console/engineFunctions.h

Structure storing the default argument values for a function invocation frame.

More...

Public Attributes

Number of default arguments for the function call frame.

Public Functions

Return a pointer to the variable-sized array of default argument values.

Detailed Description

Structure storing the default argument values for a function invocation frame.

Public Attributes

U32 mNumDefaultArgs 

Number of default arguments for the function call frame.

@warn This is NOT the size of the memory block returned by getArgs() and also not the number of elements it contains.

Public Functions

getArgs()

Return a pointer to the variable-sized array of default argument values.

@warn The arguments must be stored IMMEDIATELY after mNumDefaultArgs. @warn This is a FULL frame and not just the default arguments, i.e. it starts with the first argument that the function takes and ends with the last argument it takes. @warn If the compiler's #pragma pack is buggy, the elements in this structure are allowed to be 4-byte aligned rather than byte-aligned as they should be.