Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::BehaviorParameter Struct Reference

#include <BehaviorContext.h>

Inherited by AZ::BehaviorArgument.

Public Types

enum  Traits : u32 {
  TR_POINTER = (1 << 0) , TR_CONST = (1 << 1) , TR_REFERENCE = (1 << 2) , TR_THIS_PTR = (1 << 3) ,
  TR_STRING = (1 << 4) , TR_ARRAY_BEGIN = (1 << 5) , TR_ARRAY_END = (1 << 6) , TR_ARRAY_SIZE = (1 << 7) ,
  TR_INDEX = (1 << 8) , TR_NONE = 0U
}
 
typedef AZStd::static_buffer_allocator< 32, 32 > TempValueParameterAllocator
 Temporary POD buffer when we convert parameters on the stack.
 

Public Member Functions

 AZ_TYPE_INFO_WITH_NAME_DECL (BehaviorParameter)
 

Public Attributes

const char * m_name
 
Uuid m_typeId
 
IRttiHelperm_azRtti
 
u32 m_traits
 

Detailed Description

Reflects information about a C++ function parameter, mostly for use in BehaviorContext Methods and Events. It only provides a description or the C++ characteristics of the parameter, e.g. type and storage specification. It does not refer to any C++ value.

Note
During actual runtime calls, using the BehaviorContext generic calling mechanism, use BehaviorArgument to wrap arguments to the generic function call.

Member Enumeration Documentation

◆ Traits

Function parameters traits


The documentation for this struct was generated from the following file: