1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="Vector<*>">
<Expand>
<Item Name="size">(_cowdata && _cowdata->_ptr) ? (((const unsigned int *)(_cowdata->_ptr))[-1]) : 0</Item>
<ArrayItems>
<Size>(_cowdata && _cowdata->_ptr) ? (((const unsigned int *)(_cowdata->_ptr))[-1]) : 0</Size>
<ValuePointer>(_cowdata) ? (_cowdata->_ptr) : 0</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="PoolVector<*>">
<Expand>
<Item Name="size">alloc ? (alloc->size / sizeof($T1)) : 0</Item>
<ArrayItems>
<Size>alloc ? (alloc->size / sizeof($T1)) : 0</Size>
<ValuePointer>alloc ? (($T1 *)alloc->mem) : 0</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="Variant">
<DisplayString Condition="this->type == Variant::NIL">nil</DisplayString>
<DisplayString Condition="this->type == Variant::BOOL">{_data._bool}</DisplayString>
<DisplayString Condition="this->type == Variant::INT">{_data._int}</DisplayString>
<DisplayString Condition="this->type == Variant::REAL">{_data._real}</DisplayString>
<DisplayString Condition="this->type == Variant::TRANSFORM2D">{_data._transform2d}</DisplayString>
<DisplayString Condition="this->type == Variant::AABB">{_data._aabb}</DisplayString>
<DisplayString Condition="this->type == Variant::BASIS">{_data._basis}</DisplayString>
<DisplayString Condition="this->type == Variant::TRANSFORM">{_data._transform}</DisplayString>
<DisplayString Condition="this->type == Variant::ARRAY">{*(Array *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::STRING && ((String *)(&_data._mem[0]))->_cowdata._ptr == 0">""</DisplayString>
<DisplayString Condition="this->type == Variant::STRING && ((String *)(&_data._mem[0]))->_cowdata._ptr != 0">{((String *)(&_data._mem[0]))->_cowdata._ptr,su}</DisplayString>
<DisplayString Condition="this->type == Variant::VECTOR2">{*(Vector2 *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::RECT2">{*(Rect2 *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::VECTOR3">{*(Vector3 *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::PLANE">{*(Plane *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::QUAT">{*(Quat *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::COLOR">{*(Color *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::NODE_PATH">{*(NodePath *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::_RID">{*(RID *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::OBJECT">{*(Object *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::DICTIONARY">{*(Dictionary *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::ARRAY">{*(Array *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::POOL_BYTE_ARRAY">{*(PoolByteArray *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::POOL_INT_ARRAY">{*(PoolIntArray *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::POOL_REAL_ARRAY">{*(PoolRealArray *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::POOL_STRING_ARRAY">{*(PoolStringArray *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::POOL_VECTOR2_ARRAY">{*(PoolVector2Array *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::POOL_VECTOR3_ARRAY">{*(PoolVector3Array *)_data._mem}</DisplayString>
<DisplayString Condition="this->type == Variant::POOL_COLOR_ARRAY">{*(PoolColorArray *)_data._mem}</DisplayString>
<StringView Condition="this->type == Variant::STRING && ((String *)(&_data._mem[0]))->_cowdata._ptr != 0">((String *)(&_data._mem[0]))->_cowdata._ptr,su</StringView>
<Expand>
<Item Name="value" Condition="this->type == Variant::BOOL">_data._bool</Item>
<Item Name="value" Condition="this->type == Variant::INT">_data._int</Item>
<Item Name="value" Condition="this->type == Variant::REAL">_data._real</Item>
<Item Name="value" Condition="this->type == Variant::TRANSFORM2D">_data._transform2d</Item>
<Item Name="value" Condition="this->type == Variant::AABB">_data._aabb</Item>
<Item Name="value" Condition="this->type == Variant::BASIS">_data._basis</Item>
<Item Name="value" Condition="this->type == Variant::TRANSFORM">_data._transform</Item>
<Item Name="value" Condition="this->type == Variant::ARRAY">*(Array *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::STRING">*(String *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::VECTOR2">*(Vector2 *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::RECT2">*(Rect2 *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::VECTOR3">*(Vector3 *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::PLANE">*(Plane *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::QUAT">*(Quat *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::COLOR">*(Color *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::NODE_PATH">*(NodePath *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::_RID">*(RID *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::OBJECT">*(Object *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::DICTIONARY">*(Dictionary *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::ARRAY">*(Array *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::POOL_BYTE_ARRAY">*(PoolByteArray *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::POOL_INT_ARRAY">*(PoolIntArray *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::POOL_REAL_ARRAY">*(PoolRealArray *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::POOL_STRING_ARRAY">*(PoolStringArray *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::POOL_VECTOR2_ARRAY">*(PoolVector2Array *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::POOL_VECTOR3_ARRAY">*(PoolVector3Array *)_data._mem</Item>
<Item Name="value" Condition="this->type == Variant::POOL_COLOR_ARRAY">*(PoolColorArray *)_data._mem</Item>
</Expand>
</Type>
<Type Name="String">
<DisplayString Condition="this->_cowdata._ptr == 0">empty</DisplayString>
<DisplayString Condition="this->_cowdata._ptr != 0">{this->_cowdata._ptr,su}</DisplayString>
<StringView Condition="this->_cowdata._ptr != 0">this->_cowdata._ptr,su</StringView>
</Type>
<Type Name="Vector2">
<DisplayString>{{{x},{y}}}</DisplayString>
<Expand>
<Item Name="x">x</Item>
<Item Name="y">y</Item>
</Expand>
</Type>
<Type Name="Vector3">
<DisplayString>{{{x},{y},{z}}}</DisplayString>
<Expand>
<Item Name="x">x</Item>
<Item Name="y">y</Item>
<Item Name="z">z</Item>
</Expand>
</Type>
<Type Name="Quat">
<DisplayString>Quat {{{x},{y},{z},{w}}}</DisplayString>
<Expand>
<Item Name="x">x</Item>
<Item Name="y">y</Item>
<Item Name="z">z</Item>
<Item Name="w">w</Item>
</Expand>
</Type>
<Type Name="Color">
<DisplayString>Color {{{r},{g},{b},{a}}}</DisplayString>
<Expand>
<Item Name="red">r</Item>
<Item Name="green">g</Item>
<Item Name="blue">b</Item>
<Item Name="alpha">a</Item>
</Expand>
</Type>
</AutoVisualizer>
|