0.2.0-dev Download ZIP
417 lines ·18.6 KB Raw
| 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="StringName"> |
| 246 | <DisplayString Condition="_data">{_data->name,s32}</DisplayString> |
| 247 | <DisplayString Condition="!_data">[empty]</DisplayString> |
| 248 | <StringView Condition="_data">_data->name,s32</StringView> |
| 249 | </Type> |
| 250 | |
| 251 | <Type Name="Object::SignalData"> |
| 252 | <DisplayString Condition="user.name._cowdata._ptr">"{user.name}" {slot_map}</DisplayString> |
| 253 | <DisplayString Condition="!user.name._cowdata._ptr">"{slot_map}</DisplayString> |
| 254 | </Type> |
| 255 | |
| 256 | <Type Name="Vector2"> |
| 257 | <DisplayString>({x,g}, {y,g})</DisplayString> |
| 258 | <Expand> |
| 259 | <Item Name="[x]">x</Item> |
| 260 | <Item Name="[y]">y</Item> |
| 261 | </Expand> |
| 262 | </Type> |
| 263 | <Type Name="Vector2i"> |
| 264 | <DisplayString>({x}, {y})</DisplayString> |
| 265 | <Expand> |
| 266 | <Item Name="[x]">x</Item> |
| 267 | <Item Name="[y]">y</Item> |
| 268 | </Expand> |
| 269 | </Type> |
| 270 | |
| 271 | <Type Name="Vector3"> |
| 272 | <DisplayString>({x,g}, {y,g}, {z,g})</DisplayString> |
| 273 | <Expand> |
| 274 | <Item Name="[x]">x</Item> |
| 275 | <Item Name="[y]">y</Item> |
| 276 | <Item Name="[z]">z</Item> |
| 277 | </Expand> |
| 278 | </Type> |
| 279 | <Type Name="Vector3i"> |
| 280 | <DisplayString>({x}, {y}, {z})</DisplayString> |
| 281 | <Expand> |
| 282 | <Item Name="[x]">x</Item> |
| 283 | <Item Name="[y]">y</Item> |
| 284 | <Item Name="[z]">z</Item> |
| 285 | </Expand> |
| 286 | </Type> |
| 287 | |
| 288 | <Type Name="Vector4"> |
| 289 | <DisplayString>({x,g}, {y,g}, {z,g}, {w,g})</DisplayString> |
| 290 | <Expand> |
| 291 | <Item Name="[x]">x</Item> |
| 292 | <Item Name="[y]">y</Item> |
| 293 | <Item Name="[z]">z</Item> |
| 294 | <Item Name="[w]">w</Item> |
| 295 | </Expand> |
| 296 | </Type> |
| 297 | <Type Name="Vector4i"> |
| 298 | <DisplayString>({x}, {y}, {z}, {w})</DisplayString> |
| 299 | <Expand> |
| 300 | <Item Name="[x]">x</Item> |
| 301 | <Item Name="[y]">y</Item> |
| 302 | <Item Name="[z]">z</Item> |
| 303 | <Item Name="[w]">w</Item> |
| 304 | </Expand> |
| 305 | </Type> |
| 306 | |
| 307 | <Type Name="Quaternion"> |
| 308 | <DisplayString>({x,g}, {y,g}, {z,g}, {w,g})</DisplayString> |
| 309 | <Expand> |
| 310 | <Item Name="[x]">x</Item> |
| 311 | <Item Name="[y]">y</Item> |
| 312 | <Item Name="[z]">z</Item> |
| 313 | <Item Name="[w]">w</Item> |
| 314 | </Expand> |
| 315 | </Type> |
| 316 | |
| 317 | <Type Name="Color"> |
| 318 | <DisplayString>({r,g}, {g,g}, {b,g}, {a,g})</DisplayString> |
| 319 | <Expand> |
| 320 | <Item Name="[red]">r</Item> |
| 321 | <Item Name="[green]">g</Item> |
| 322 | <Item Name="[blue]">b</Item> |
| 323 | <Item Name="[alpha]">a</Item> |
| 324 | </Expand> |
| 325 | </Type> |
| 326 | |
| 327 | <Type Name="Rect2"> |
| 328 | <DisplayString>[P: {position}, S: {size}]</DisplayString> |
| 329 | <Expand> |
| 330 | <Item Name="[position]">position,nr</Item> |
| 331 | <Item Name="[size]">size,nr</Item> |
| 332 | </Expand> |
| 333 | </Type> |
| 334 | <Type Name="Rect2i"> |
| 335 | <DisplayString>[P: {position}, S: {size}]</DisplayString> |
| 336 | <Expand> |
| 337 | <Item Name="[position]">position,nr</Item> |
| 338 | <Item Name="[size]">size,nr</Item> |
| 339 | </Expand> |
| 340 | </Type> |
| 341 | |
| 342 | <Type Name="AABB"> |
| 343 | <DisplayString>[P: {position}, S: {size}]</DisplayString> |
| 344 | <Expand> |
| 345 | <Item Name="[position]">position,nr</Item> |
| 346 | <Item Name="[size]">size,nr</Item> |
| 347 | </Expand> |
| 348 | </Type> |
| 349 | |
| 350 | <Type Name="Plane"> |
| 351 | <DisplayString>[N: {normal}, D: {d,g}]</DisplayString> |
| 352 | <Expand> |
| 353 | <Item Name="[normal]">normal,nr</Item> |
| 354 | <Item Name="[d]">d</Item> |
| 355 | </Expand> |
| 356 | </Type> |
| 357 | |
| 358 | <Type Name="Basis"> |
| 359 | <DisplayString>[X: {rows[0]}, Y: {rows[1]}, Z: {rows[2]}]</DisplayString> |
| 360 | <Expand> |
| 361 | <Item Name="[x]">rows[0],nr</Item> |
| 362 | <Item Name="[y]">rows[1],nr</Item> |
| 363 | <Item Name="[z]">rows[2],nr</Item> |
| 364 | </Expand> |
| 365 | </Type> |
| 366 | |
| 367 | <Type Name="Transform2D"> |
| 368 | <DisplayString>[X: {columns[0]}, Y: {columns[1]}, O: {columns[2]}]</DisplayString> |
| 369 | <Expand> |
| 370 | <Item Name="[x]">columns[0],nr</Item> |
| 371 | <Item Name="[y]">columns[1],nr</Item> |
| 372 | <Item Name="[origin]">columns[2],nr</Item> |
| 373 | </Expand> |
| 374 | </Type> |
| 375 | |
| 376 | <Type Name="Transform3D"> |
| 377 | <!-- Can't call column functions, so just pretend we can via obscene code duplication. --> |
| 378 | <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> |
| 379 | <Expand> |
| 380 | <Synthetic Name="[x]"> |
| 381 | <DisplayString>({basis.rows[0].x,g}, {basis.rows[1].x,g}, {basis.rows[2].x,g})</DisplayString> |
| 382 | <Expand> |
| 383 | <Item Name="[x]">basis.rows[0].x</Item> |
| 384 | <Item Name="[y]">basis.rows[1].x</Item> |
| 385 | <Item Name="[z]">basis.rows[2].x</Item> |
| 386 | </Expand> |
| 387 | </Synthetic> |
| 388 | <Synthetic Name="[y]"> |
| 389 | <DisplayString>({basis.rows[0].y,g}, {basis.rows[1].y,g}, {basis.rows[2].y,g})</DisplayString> |
| 390 | <Expand> |
| 391 | <Item Name="[x]">basis.rows[0].y</Item> |
| 392 | <Item Name="[y]">basis.rows[1].y</Item> |
| 393 | <Item Name="[z]">basis.rows[2].y</Item> |
| 394 | </Expand> |
| 395 | </Synthetic> |
| 396 | <Synthetic Name="[z]"> |
| 397 | <DisplayString>({basis.rows[0].z,g}, {basis.rows[1].z,g}, {basis.rows[2].z,g})</DisplayString> |
| 398 | <Expand> |
| 399 | <Item Name="[x]">basis.rows[0].z</Item> |
| 400 | <Item Name="[y]">basis.rows[1].z</Item> |
| 401 | <Item Name="[z]">basis.rows[2].z</Item> |
| 402 | </Expand> |
| 403 | </Synthetic> |
| 404 | <Item Name="[origin]">origin,nr</Item> |
| 405 | </Expand> |
| 406 | </Type> |
| 407 | |
| 408 | <Type Name="Projection"> |
| 409 | <DisplayString>[X: {columns[0]}, Y: {columns[1]}, Z: {columns[2]}, W: {columns[3]}]</DisplayString> |
| 410 | <Expand> |
| 411 | <Item Name="[x]">columns[0],nr</Item> |
| 412 | <Item Name="[y]">columns[1],nr</Item> |
| 413 | <Item Name="[z]">columns[2],nr</Item> |
| 414 | <Item Name="[w]">columns[3],nr</Item> |
| 415 | </Expand> |
| 416 | </Type> |
| 417 | </AutoVisualizer> |