Urho3D::VariantValue Struct Reference

Union for the possible variant values. Also stores non-POD objects such as String and math objects (excluding Matrix) which must not exceed 16 bytes in size (or 32 bytes in a 64-bit build.) Objects exceeding the limit are allocated on the heap and pointed to by _ptr. More...

#include <Urho3D/Core/Variant.h>

Public Attributes

union {
   int   int_
 
   bool   bool_
 
   float   float_
 
   void *   ptr_
 
}; 
 
union {
   int   int2_
 
   float   float2_
 
   void *   ptr2_
 
}; 
 
union {
   int   int3_
 
   float   float3_
 
   void *   ptr3_
 
}; 
 
union {
   int   int4_
 
   float   float4_
 
   void *   ptr4_
 
}; 
 

Detailed Description

Union for the possible variant values. Also stores non-POD objects such as String and math objects (excluding Matrix) which must not exceed 16 bytes in size (or 32 bytes in a 64-bit build.) Objects exceeding the limit are allocated on the heap and pointed to by _ptr.


The documentation for this struct was generated from the following file:
  • Source/Urho3D/Core/Variant.h