| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> |
| 3 |
<Type Name="Ref<*>"> |
| 4 |
<SmartPointer Usage="Minimal">reference</SmartPointer> |
| 5 |
<DisplayString Condition="!reference">[empty]</DisplayString> |
| 6 |
<DisplayString Condition="!!reference">{*reference}</DisplayString> |
| 7 |
<Expand> |
| 8 |
<Item Condition="!!reference" Name="[ptr]">reference</Item> |
| 9 |
<Item Condition="!!reference" Name="[refcount]">reference->refcount.count.value</Item> |
| 10 |
</Expand> |
| 11 |
</Type> |
| 12 |
|
| 13 |
<Type Name="Vector<*>"> |
| 14 |
<Expand> |
| 15 |
<Item Name="[size]">_cowdata._ptr ? (((const unsigned long long *)(_cowdata._ptr))[-1]) : 0</Item> |
| 16 |
<ArrayItems> |
| 17 |
<Size>_cowdata._ptr ? (((const unsigned long long *)(_cowdata._ptr))[-1]) : 0</Size> |
| 18 |
<ValuePointer>($T1 *) _cowdata._ptr</ValuePointer> |
| 19 |
</ArrayItems> |
| 20 |
</Expand> |
| 21 |
</Type> |
| 22 |
|
| 23 |
<Type Name="Array"> |
| 24 |
<Expand> |
| 25 |
<Item Name="[size]">_p->array._cowdata._ptr ? (((const unsigned long long *)(_p->array._cowdata._ptr))[-1]) : 0</Item> |
| 26 |
<ArrayItems> |
| 27 |
<Size>_p->array._cowdata._ptr ? (((const unsigned long long *)(_p->array._cowdata._ptr))[-1]) : 0</Size> |
| 28 |
<ValuePointer>(Variant *) _p->array._cowdata._ptr</ValuePointer> |
| 29 |
</ArrayItems> |
| 30 |
</Expand> |
| 31 |
</Type> |
| 32 |
|
| 33 |
<Type Name="Dictionary"> |
| 34 |
<Expand> |
| 35 |
<Item Name="[size]">_p && _p->variant_map._head_element ? _p->variant_map._size : 0</Item> |
| 36 |
<LinkedListItems> |
| 37 |
<Size>_p && _p->variant_map._head_element ? _p->variant_map._size : 0</Size> |
| 38 |
<HeadPointer>_p ? _p->variant_map._head_element : nullptr</HeadPointer> |
| 39 |
<NextPointer>next</NextPointer> |
| 40 |
<ValueNode Name="[{data.key}]">(*this),view(MapHelper)</ValueNode> |
| 41 |
</LinkedListItems> |
| 42 |
</Expand> |
| 43 |
</Type> |
| 44 |
|
| 45 |
<Type Name="LocalVector<*>"> |
| 46 |
<Expand> |
| 47 |
<Item Name="[size]">count</Item> |
| 48 |
<ArrayItems> |
| 49 |
<Size>count</Size> |
| 50 |
<ValuePointer>data</ValuePointer> |
| 51 |
</ArrayItems> |
| 52 |
</Expand> |
| 53 |
</Type> |
| 54 |
|
| 55 |
<Type Name="List<*>"> |
| 56 |
<Expand> |
| 57 |
<Item Name="[size]">_data ? (_data->size_cache) : 0</Item> |
| 58 |
<LinkedListItems> |
| 59 |
<Size>_data ? (_data->size_cache) : 0</Size> |
| 60 |
<HeadPointer>_data->first</HeadPointer> |
| 61 |
<NextPointer>next_ptr</NextPointer> |
| 62 |
<ValueNode>value</ValueNode> |
| 63 |
</LinkedListItems> |
| 64 |
</Expand> |
| 65 |
</Type> |
| 66 |
|
| 67 |
<Type Name="NodePath"> |
| 68 |
<DisplayString Condition="!data">[empty]</DisplayString> |
| 69 |
<DisplayString Condition="!!data">{{[absolute] = {data->absolute} [path] = {data->path,view(NodePathHelper)} [subpath] = {data->subpath,view(NodePathHelper)}}}</DisplayString> |
| 70 |
<Expand> |
| 71 |
<Item Name="[path]">data->path,view(NodePathHelper)</Item> |
| 72 |
<Item Name="[subpath]">data->subpath,view(NodePathHelper)</Item> |
| 73 |
<Item Name="[absolute]">data->absolute</Item> |
| 74 |
</Expand> |
| 75 |
</Type> |
| 76 |
|
| 77 |
<Type Name="Vector<StringName>" IncludeView="NodePathHelper"> |
| 78 |
<Expand> |
| 79 |
<ArrayItems> |
| 80 |
<Size>_cowdata._ptr ? (((const unsigned long long *)(_cowdata._ptr))[-1]) : 0</Size> |
| 81 |
<ValuePointer>((StringName *)_cowdata._ptr),view(NodePathHelper)</ValuePointer> |
| 82 |
</ArrayItems> |
| 83 |
</Expand> |
| 84 |
</Type> |
| 85 |
|
| 86 |
<Type Name="StringName" IncludeView="NodePathHelper"> |
| 87 |
<DisplayString Condition="_data && _data->cname">{_data->cname,s8b}</DisplayString> |
| 88 |
<DisplayString Condition="_data && !_data->cname">{_data->name,s32b}</DisplayString> |
| 89 |
<DisplayString Condition="!_data">[empty]</DisplayString> |
| 90 |
<StringView Condition="_data && _data->cname">_data->cname,s8b</StringView> |
| 91 |
<StringView Condition="_data && !_data->cname">_data->name,s32b</StringView> |
| 92 |
</Type> |
| 93 |
|
| 94 |
<Type Name="HashSet<*,*,*>"> |
| 95 |
<Expand> |
| 96 |
<Item Name="[size]">_size</Item> |
| 97 |
<ArrayItems> |
| 98 |
<Size>_size</Size> |
| 99 |
<ValuePointer>($T1 *) _keys._cowdata._ptr</ValuePointer> |
| 100 |
</ArrayItems> |
| 101 |
</Expand> |
| 102 |
</Type> |
| 103 |
|
| 104 |
<Type Name="HashMapElement<*,*>"> |
| 105 |
<DisplayString>{{Key = {($T1 *) &data.key} Value = {($T2 *) &data.value}}}</DisplayString> |
| 106 |
<Expand> |
| 107 |
<Item Name="[key]">($T1 *) &data.key</Item> |
| 108 |
<Item Name="[value]">($T2 *) &data.value</Item> |
| 109 |
</Expand> |
| 110 |
</Type> |
| 111 |
|
| 112 |
<!-- elements displayed by index --> |
| 113 |
<Type Name="HashMap<*,*,*,*,*>" Priority="Medium"> |
| 114 |
<Expand> |
| 115 |
<Item Name="[size]">_head_element ? _size : 0</Item> |
| 116 |
<LinkedListItems> |
| 117 |
<Size>_head_element ? _size : 0</Size> |
| 118 |
<HeadPointer>_head_element</HeadPointer> |
| 119 |
<NextPointer>next</NextPointer> |
| 120 |
<ValueNode>(*this)</ValueNode> |
| 121 |
</LinkedListItems> |
| 122 |
</Expand> |
| 123 |
</Type> |
| 124 |
|
| 125 |
<!-- elements by key:value --> |
| 126 |
<!-- show elements by index by specifying "ShowElementsByIndex"--> |
| 127 |
<Type Name="HashMap<*,*,*,*,*>" ExcludeView="ShowElementsByIndex" Priority="MediumHigh"> |
| 128 |
<Expand> |
| 129 |
<Item Name="[size]">_head_element ? _size : 0</Item> |
| 130 |
<LinkedListItems> |
| 131 |
<Size>_head_element ? _size : 0</Size> |
| 132 |
<HeadPointer>_head_element</HeadPointer> |
| 133 |
<NextPointer>next</NextPointer> |
| 134 |
<ValueNode Name="[{data.key}]">(*this),view(MapHelper)</ValueNode> |
| 135 |
</LinkedListItems> |
| 136 |
</Expand> |
| 137 |
</Type> |
| 138 |
|
| 139 |
<Type Name="KeyValue<*,*>" IncludeView="MapHelper"> |
| 140 |
<DisplayString>{value}</DisplayString> |
| 141 |
</Type> |
| 142 |
|
| 143 |
<Type Name="HashMapElement<*,*>" IncludeView="MapHelper"> |
| 144 |
<DisplayString>{data.value}</DisplayString> |
| 145 |
<Expand> |
| 146 |
<Item Name="[key]">($T1 *) &data.key</Item> |
| 147 |
<Item Name="[value]">($T2 *) &data.value</Item> |
| 148 |
</Expand> |
| 149 |
</Type> |
| 150 |
|
| 151 |
<Type Name="VMap<*,*>"> |
| 152 |
<Expand> |
| 153 |
<Item Condition="_cowdata._ptr" Name="[size]">*(reinterpret_cast<long long*>(_cowdata._ptr) - 1)</Item> |
| 154 |
<ArrayItems Condition="_cowdata._ptr"> |
| 155 |
<Size>*(reinterpret_cast<long long*>(_cowdata._ptr) - 1)</Size> |
| 156 |
<ValuePointer>reinterpret_cast<VMap<$T1,$T2>::Pair*>(_cowdata._ptr)</ValuePointer> |
| 157 |
</ArrayItems> |
| 158 |
</Expand> |
| 159 |
</Type> |
| 160 |
|
| 161 |
<Type Name="VMap<Callable,*>::Pair"> |
| 162 |
<DisplayString Condition="dynamic_cast<CallableCustomMethodPointerBase*>(key.custom)">{dynamic_cast<CallableCustomMethodPointerBase*>(key.custom)->text}</DisplayString> |
| 163 |
</Type> |
| 164 |
|
| 165 |
|
| 166 |
<Type Name="Variant"> |
| 167 |
<DisplayString Condition="type == Variant::NIL">nil</DisplayString> |
| 168 |
<DisplayString Condition="type == Variant::BOOL">{_data._bool}</DisplayString> |
| 169 |
<DisplayString Condition="type == Variant::INT">{_data._int}</DisplayString> |
| 170 |
<DisplayString Condition="type == Variant::FLOAT">{_data._float}</DisplayString> |
| 171 |
<DisplayString Condition="type == Variant::TRANSFORM2D">{_data._transform2d}</DisplayString> |
| 172 |
<DisplayString Condition="type == Variant::AABB">{_data._aabb}</DisplayString> |
| 173 |
<DisplayString Condition="type == Variant::BASIS">{_data._basis}</DisplayString> |
| 174 |
<DisplayString Condition="type == Variant::TRANSFORM3D">{_data._transform3d}</DisplayString> |
| 175 |
<DisplayString Condition="type == Variant::PROJECTION">{_data._projection}</DisplayString> |
| 176 |
<DisplayString Condition="type == Variant::STRING">{*(String *)_data._mem}</DisplayString> |
| 177 |
<DisplayString Condition="type == Variant::VECTOR2">{*(Vector2 *)_data._mem}</DisplayString> |
| 178 |
<DisplayString Condition="type == Variant::RECT2">{*(Rect2 *)_data._mem}</DisplayString> |
| 179 |
<DisplayString Condition="type == Variant::VECTOR3">{*(Vector3 *)_data._mem}</DisplayString> |
| 180 |
<DisplayString Condition="type == Variant::VECTOR4">{*(Vector4 *)_data._mem}</DisplayString> |
| 181 |
<DisplayString Condition="type == Variant::PLANE">{*(Plane *)_data._mem}</DisplayString> |
| 182 |
<DisplayString Condition="type == Variant::QUATERNION">{*(Quaternion *)_data._mem}</DisplayString> |
| 183 |
<DisplayString Condition="type == Variant::COLOR">{*(Color *)_data._mem}</DisplayString> |
| 184 |
<DisplayString Condition="type == Variant::STRING_NAME">{*(StringName *)_data._mem}</DisplayString> |
| 185 |
<DisplayString Condition="type == Variant::NODE_PATH">{*(NodePath *)_data._mem}</DisplayString> |
| 186 |
<DisplayString Condition="type == Variant::RID">{*(::RID *)_data._mem}</DisplayString> |
| 187 |
<DisplayString Condition="type == Variant::OBJECT">{*(*reinterpret_cast<ObjData*>(&_data._mem[0])).obj}</DisplayString> |
| 188 |
<DisplayString Condition="type == Variant::DICTIONARY">{*(Dictionary *)_data._mem}</DisplayString> |
| 189 |
<DisplayString Condition="type == Variant::ARRAY">{*(Array *)_data._mem}</DisplayString> |
| 190 |
<DisplayString Condition="type == Variant::PACKED_BYTE_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<unsigned char>*>(_data.packed_array)->array}</DisplayString> |
| 191 |
<DisplayString Condition="type == Variant::PACKED_INT32_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<int>*>(_data.packed_array)->array}</DisplayString> |
| 192 |
<DisplayString Condition="type == Variant::PACKED_INT64_ARRAY">{*reinterpret_cast<PackedInt64Array *>(&_data.packed_array[1])}</DisplayString> |
| 193 |
<DisplayString Condition="type == Variant::PACKED_FLOAT32_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<float>*>(_data.packed_array)->array}</DisplayString> |
| 194 |
<DisplayString Condition="type == Variant::PACKED_FLOAT64_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<double>*>(_data.packed_array)->array}</DisplayString> |
| 195 |
<DisplayString Condition="type == Variant::PACKED_STRING_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<String>*>(_data.packed_array)->array}</DisplayString> |
| 196 |
<DisplayString Condition="type == Variant::PACKED_VECTOR2_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<Vector2>*>(_data.packed_array)->array}</DisplayString> |
| 197 |
<DisplayString Condition="type == Variant::PACKED_VECTOR3_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<Vector3>*>(_data.packed_array)->array}</DisplayString> |
| 198 |
<DisplayString Condition="type == Variant::PACKED_COLOR_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<Color>*>(_data.packed_array)->array}</DisplayString> |
| 199 |
<DisplayString Condition="type == Variant::PACKED_VECTOR4_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<Vector4>*>(_data.packed_array)->array}</DisplayString> |
| 200 |
<DisplayString Condition="type < 0 || type >= Variant::VARIANT_MAX">[INVALID]</DisplayString> |
| 201 |
|
| 202 |
<StringView Condition="type == Variant::STRING && ((String *)(_data._mem))->_cowdata._ptr">((String *)(_data._mem))->_cowdata._ptr,s32</StringView> |
| 203 |
|
| 204 |
<Expand> |
| 205 |
<Item Name="[value]" Condition="type == Variant::BOOL">_data._bool</Item> |
| 206 |
<Item Name="[value]" Condition="type == Variant::INT">_data._int</Item> |
| 207 |
<Item Name="[value]" Condition="type == Variant::FLOAT">_data._float</Item> |
| 208 |
<Item Name="[value]" Condition="type == Variant::TRANSFORM2D">_data._transform2d</Item> |
| 209 |
<Item Name="[value]" Condition="type == Variant::AABB">_data._aabb</Item> |
| 210 |
<Item Name="[value]" Condition="type == Variant::BASIS">_data._basis</Item> |
| 211 |
<Item Name="[value]" Condition="type == Variant::TRANSFORM3D">_data._transform3d</Item> |
| 212 |
<Item Name="[value]" Condition="type == Variant::STRING">*(String *)_data._mem</Item> |
| 213 |
<Item Name="[value]" Condition="type == Variant::VECTOR2">*(Vector2 *)_data._mem</Item> |
| 214 |
<Item Name="[value]" Condition="type == Variant::RECT2">*(Rect2 *)_data._mem</Item> |
| 215 |
<Item Name="[value]" Condition="type == Variant::VECTOR3">*(Vector3 *)_data._mem</Item> |
| 216 |
<Item Name="[value]" Condition="type == Variant::PLANE">*(Plane *)_data._mem</Item> |
| 217 |
<Item Name="[value]" Condition="type == Variant::QUATERNION">*(Quaternion *)_data._mem</Item> |
| 218 |
<Item Name="[value]" Condition="type == Variant::COLOR">*(Color *)_data._mem</Item> |
| 219 |
<Item Name="[value]" Condition="type == Variant::STRING_NAME">*(StringName *)_data._mem</Item> |
| 220 |
<Item Name="[value]" Condition="type == Variant::NODE_PATH">*(NodePath *)_data._mem</Item> |
| 221 |
<Item Name="[value]" Condition="type == Variant::RID">*(::RID *)_data._mem</Item> |
| 222 |
<Item Name="[value]" Condition="type == Variant::OBJECT">*(*reinterpret_cast<ObjData*>(&_data._mem[0])).obj</Item> |
| 223 |
<Item Name="[value]" Condition="type == Variant::DICTIONARY">*(Dictionary *)_data._mem</Item> |
| 224 |
<Item Name="[value]" Condition="type == Variant::ARRAY">*(Array *)_data._mem</Item> |
| 225 |
<Item Name="[value]" Condition="type == Variant::PACKED_BYTE_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<unsigned char>*>(_data.packed_array)->array</Item> |
| 226 |
<Item Name="[value]" Condition="type == Variant::PACKED_INT32_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<int>*>(_data.packed_array)->array</Item> |
| 227 |
<Item Name="[value]" Condition="type == Variant::PACKED_INT64_ARRAY">*reinterpret_cast<PackedInt64Array *>(&_data.packed_array[1])</Item> |
| 228 |
<Item Name="[value]" Condition="type == Variant::PACKED_FLOAT32_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<float>*>(_data.packed_array)->array</Item> |
| 229 |
<Item Name="[value]" Condition="type == Variant::PACKED_FLOAT64_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<double>*>(_data.packed_array)->array</Item> |
| 230 |
<Item Name="[value]" Condition="type == Variant::PACKED_STRING_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<String>*>(_data.packed_array)->array</Item> |
| 231 |
<Item Name="[value]" Condition="type == Variant::PACKED_VECTOR2_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<Vector2>*>(_data.packed_array)->array</Item> |
| 232 |
<Item Name="[value]" Condition="type == Variant::PACKED_VECTOR3_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<Vector3>*>(_data.packed_array)->array</Item> |
| 233 |
<Item Name="[value]" Condition="type == Variant::PACKED_COLOR_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<Color>*>(_data.packed_array)->array</Item> |
| 234 |
<Item Name="[value]" Condition="type == Variant::PACKED_VECTOR4_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<Vector4>*>(_data.packed_array)->array</Item> |
| 235 |
|
| 236 |
</Expand> |
| 237 |
</Type> |
| 238 |
|
| 239 |
<Type Name="String"> |
| 240 |
<DisplayString Condition="_cowdata._ptr == 0">[empty]</DisplayString> |
| 241 |
<DisplayString Condition="_cowdata._ptr != 0">{_cowdata._ptr,s32}</DisplayString> |
| 242 |
<StringView Condition="_cowdata._ptr != 0">_cowdata._ptr,s32</StringView> |
| 243 |
</Type> |
| 244 |
|
| 245 |
<Type Name="godot::String"> |
| 246 |
<DisplayString>{*reinterpret_cast<void**>(opaque),s32}</DisplayString> |
| 247 |
<Expand> |
| 248 |
<Item Name="opaque_ptr">*reinterpret_cast<void**>(opaque)</Item> |
| 249 |
<Item Name="string">*reinterpret_cast<void**>(opaque),s32</Item> |
| 250 |
</Expand> |
| 251 |
</Type> |
| 252 |
|
| 253 |
<Type Name="StringName"> |
| 254 |
<DisplayString Condition="_data && _data->cname">{_data->cname,na}</DisplayString> |
| 255 |
<DisplayString Condition="_data && !_data->cname">{_data->name,s32}</DisplayString> |
| 256 |
<DisplayString Condition="!_data">[empty]</DisplayString> |
| 257 |
<StringView Condition="_data && _data->cname">_data->cname,na</StringView> |
| 258 |
<StringView Condition="_data && !_data->cname">_data->name,s32</StringView> |
| 259 |
</Type> |
| 260 |
|
| 261 |
<!-- can't cast the opaque to ::StringName because Natvis does not support global namespace specifier? --> |
| 262 |
<Type Name="godot::StringName"> |
| 263 |
<DisplayString Condition="(*reinterpret_cast<const char***>(opaque))[1]">{(*reinterpret_cast<const char***>(opaque))[1],s8}</DisplayString> |
| 264 |
<DisplayString Condition="!(*reinterpret_cast<const char***>(opaque))[1]">{(*reinterpret_cast<const char***>(opaque))[2],s32}</DisplayString> |
| 265 |
<Expand> |
| 266 |
<Item Name="opaque_ptr">*reinterpret_cast<void**>(opaque)</Item> |
| 267 |
<Item Name="&cname">(*reinterpret_cast<const char***>(opaque))+1</Item> |
| 268 |
<Item Name="cname">(*reinterpret_cast<const char***>(opaque))[1],s8</Item> |
| 269 |
</Expand> |
| 270 |
</Type> |
| 271 |
|
| 272 |
<Type Name="Object::SignalData"> |
| 273 |
<DisplayString Condition="user.name._cowdata._ptr">"{user.name}" {slot_map}</DisplayString> |
| 274 |
<DisplayString Condition="!user.name._cowdata._ptr">"{slot_map}</DisplayString> |
| 275 |
</Type> |
| 276 |
|
| 277 |
<Type Name="Vector2"> |
| 278 |
<DisplayString>({x,g}, {y,g})</DisplayString> |
| 279 |
<Expand> |
| 280 |
<Item Name="[x]">x</Item> |
| 281 |
<Item Name="[y]">y</Item> |
| 282 |
</Expand> |
| 283 |
</Type> |
| 284 |
<Type Name="Vector2i"> |
| 285 |
<DisplayString>({x}, {y})</DisplayString> |
| 286 |
<Expand> |
| 287 |
<Item Name="[x]">x</Item> |
| 288 |
<Item Name="[y]">y</Item> |
| 289 |
</Expand> |
| 290 |
</Type> |
| 291 |
|
| 292 |
<Type Name="Vector3"> |
| 293 |
<DisplayString>({x,g}, {y,g}, {z,g})</DisplayString> |
| 294 |
<Expand> |
| 295 |
<Item Name="[x]">x</Item> |
| 296 |
<Item Name="[y]">y</Item> |
| 297 |
<Item Name="[z]">z</Item> |
| 298 |
</Expand> |
| 299 |
</Type> |
| 300 |
<Type Name="Vector3i"> |
| 301 |
<DisplayString>({x}, {y}, {z})</DisplayString> |
| 302 |
<Expand> |
| 303 |
<Item Name="[x]">x</Item> |
| 304 |
<Item Name="[y]">y</Item> |
| 305 |
<Item Name="[z]">z</Item> |
| 306 |
</Expand> |
| 307 |
</Type> |
| 308 |
|
| 309 |
<Type Name="Vector4"> |
| 310 |
<DisplayString>({x,g}, {y,g}, {z,g}, {w,g})</DisplayString> |
| 311 |
<Expand> |
| 312 |
<Item Name="[x]">x</Item> |
| 313 |
<Item Name="[y]">y</Item> |
| 314 |
<Item Name="[z]">z</Item> |
| 315 |
<Item Name="[w]">w</Item> |
| 316 |
</Expand> |
| 317 |
</Type> |
| 318 |
<Type Name="Vector4i"> |
| 319 |
<DisplayString>({x}, {y}, {z}, {w})</DisplayString> |
| 320 |
<Expand> |
| 321 |
<Item Name="[x]">x</Item> |
| 322 |
<Item Name="[y]">y</Item> |
| 323 |
<Item Name="[z]">z</Item> |
| 324 |
<Item Name="[w]">w</Item> |
| 325 |
</Expand> |
| 326 |
</Type> |
| 327 |
|
| 328 |
<Type Name="Quaternion"> |
| 329 |
<DisplayString>({x,g}, {y,g}, {z,g}, {w,g})</DisplayString> |
| 330 |
<Expand> |
| 331 |
<Item Name="[x]">x</Item> |
| 332 |
<Item Name="[y]">y</Item> |
| 333 |
<Item Name="[z]">z</Item> |
| 334 |
<Item Name="[w]">w</Item> |
| 335 |
</Expand> |
| 336 |
</Type> |
| 337 |
|
| 338 |
<Type Name="Color"> |
| 339 |
<DisplayString>({r,g}, {g,g}, {b,g}, {a,g})</DisplayString> |
| 340 |
<Expand> |
| 341 |
<Item Name="[red]">r</Item> |
| 342 |
<Item Name="[green]">g</Item> |
| 343 |
<Item Name="[blue]">b</Item> |
| 344 |
<Item Name="[alpha]">a</Item> |
| 345 |
</Expand> |
| 346 |
</Type> |
| 347 |
|
| 348 |
<Type Name="Rect2"> |
| 349 |
<DisplayString>[P: {position}, S: {size}]</DisplayString> |
| 350 |
<Expand> |
| 351 |
<Item Name="[position]">position,nr</Item> |
| 352 |
<Item Name="[size]">size,nr</Item> |
| 353 |
</Expand> |
| 354 |
</Type> |
| 355 |
<Type Name="Rect2i"> |
| 356 |
<DisplayString>[P: {position}, S: {size}]</DisplayString> |
| 357 |
<Expand> |
| 358 |
<Item Name="[position]">position,nr</Item> |
| 359 |
<Item Name="[size]">size,nr</Item> |
| 360 |
</Expand> |
| 361 |
</Type> |
| 362 |
|
| 363 |
<Type Name="AABB"> |
| 364 |
<DisplayString>[P: {position}, S: {size}]</DisplayString> |
| 365 |
<Expand> |
| 366 |
<Item Name="[position]">position,nr</Item> |
| 367 |
<Item Name="[size]">size,nr</Item> |
| 368 |
</Expand> |
| 369 |
</Type> |
| 370 |
|
| 371 |
<Type Name="Plane"> |
| 372 |
<DisplayString>[N: {normal}, D: {d,g}]</DisplayString> |
| 373 |
<Expand> |
| 374 |
<Item Name="[normal]">normal,nr</Item> |
| 375 |
<Item Name="[d]">d</Item> |
| 376 |
</Expand> |
| 377 |
</Type> |
| 378 |
|
| 379 |
<Type Name="Basis"> |
| 380 |
<DisplayString>[X: {rows[0]}, Y: {rows[1]}, Z: {rows[2]}]</DisplayString> |
| 381 |
<Expand> |
| 382 |
<Item Name="[x]">rows[0],nr</Item> |
| 383 |
<Item Name="[y]">rows[1],nr</Item> |
| 384 |
<Item Name="[z]">rows[2],nr</Item> |
| 385 |
</Expand> |
| 386 |
</Type> |
| 387 |
|
| 388 |
<Type Name="Transform2D"> |
| 389 |
<DisplayString>[X: {columns[0]}, Y: {columns[1]}, O: {columns[2]}]</DisplayString> |
| 390 |
<Expand> |
| 391 |
<Item Name="[x]">columns[0],nr</Item> |
| 392 |
<Item Name="[y]">columns[1],nr</Item> |
| 393 |
<Item Name="[origin]">columns[2],nr</Item> |
| 394 |
</Expand> |
| 395 |
</Type> |
| 396 |
|
| 397 |
<Type Name="Transform3D"> |
| 398 |
<!-- Can't call column functions, so just pretend we can via obscene code duplication. --> |
| 399 |
<DisplayString>[X: ({basis.rows[0].x,g}, {basis.rows[1].x,g}, {basis.rows[2].x,g}), Y: ({basis.rows[0].y,g}, {basis.rows[1].y,g}, {basis.rows[2].y,g}), Z: ({basis.rows[0].z,g}, {basis.rows[1].z,g}, {basis.rows[2].z,g}), O: {origin}]</DisplayString> |
| 400 |
<Expand> |
| 401 |
<Synthetic Name="[x]"> |
| 402 |
<DisplayString>({basis.rows[0].x,g}, {basis.rows[1].x,g}, {basis.rows[2].x,g})</DisplayString> |
| 403 |
<Expand> |
| 404 |
<Item Name="[x]">basis.rows[0].x</Item> |
| 405 |
<Item Name="[y]">basis.rows[1].x</Item> |
| 406 |
<Item Name="[z]">basis.rows[2].x</Item> |
| 407 |
</Expand> |
| 408 |
</Synthetic> |
| 409 |
<Synthetic Name="[y]"> |
| 410 |
<DisplayString>({basis.rows[0].y,g}, {basis.rows[1].y,g}, {basis.rows[2].y,g})</DisplayString> |
| 411 |
<Expand> |
| 412 |
<Item Name="[x]">basis.rows[0].y</Item> |
| 413 |
<Item Name="[y]">basis.rows[1].y</Item> |
| 414 |
<Item Name="[z]">basis.rows[2].y</Item> |
| 415 |
</Expand> |
| 416 |
</Synthetic> |
| 417 |
<Synthetic Name="[z]"> |
| 418 |
<DisplayString>({basis.rows[0].z,g}, {basis.rows[1].z,g}, {basis.rows[2].z,g})</DisplayString> |
| 419 |
<Expand> |
| 420 |
<Item Name="[x]">basis.rows[0].z</Item> |
| 421 |
<Item Name="[y]">basis.rows[1].z</Item> |
| 422 |
<Item Name="[z]">basis.rows[2].z</Item> |
| 423 |
</Expand> |
| 424 |
</Synthetic> |
| 425 |
<Item Name="[origin]">origin,nr</Item> |
| 426 |
</Expand> |
| 427 |
</Type> |
| 428 |
|
| 429 |
<Type Name="Projection"> |
| 430 |
<DisplayString>[X: {columns[0]}, Y: {columns[1]}, Z: {columns[2]}, W: {columns[3]}]</DisplayString> |
| 431 |
<Expand> |
| 432 |
<Item Name="[x]">columns[0],nr</Item> |
| 433 |
<Item Name="[y]">columns[1],nr</Item> |
| 434 |
<Item Name="[z]">columns[2],nr</Item> |
| 435 |
<Item Name="[w]">columns[3],nr</Item> |
| 436 |
</Expand> |
| 437 |
</Type> |
| 438 |
</AutoVisualizer> |