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. Objects exceeding 16 bytes size are stored in the heap pointed by _ptr. More...

#include <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. Objects exceeding 16 bytes size are stored in the heap pointed by _ptr.


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