2018-09-16 00:50:39 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
|
|
<Type Name="Vector<*>">
|
|
|
|
<Expand>
|
2019-03-12 07:59:30 +00:00
|
|
|
<Item Name="[size]">_cowdata._ptr ? (((const unsigned int *)(_cowdata._ptr))[-1]) : 0</Item>
|
2018-09-16 00:50:39 +00:00
|
|
|
<ArrayItems>
|
2019-03-12 07:59:30 +00:00
|
|
|
<Size>_cowdata._ptr ? (((const unsigned int *)(_cowdata._ptr))[-1]) : 0</Size>
|
|
|
|
<ValuePointer>_cowdata._ptr</ValuePointer>
|
2018-09-16 00:50:39 +00:00
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2019-03-12 07:59:30 +00:00
|
|
|
<Type Name="List<*>">
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[size]">_data ? (_data->size_cache) : 0</Item>
|
|
|
|
<LinkedListItems>
|
|
|
|
<Size>_data ? (_data->size_cache) : 0</Size>
|
|
|
|
<HeadPointer>_data->first</HeadPointer>
|
|
|
|
<NextPointer>next_ptr</NextPointer>
|
|
|
|
<ValueNode>value</ValueNode>
|
|
|
|
</LinkedListItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
2018-09-16 00:50:39 +00:00
|
|
|
|
|
|
|
<Type Name="Variant">
|
2019-03-12 07:59:30 +00:00
|
|
|
<DisplayString Condition="type == Variant::NIL">nil</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::BOOL">{_data._bool}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::INT">{_data._int}</DisplayString>
|
2020-12-28 13:37:36 +00:00
|
|
|
<DisplayString Condition="type == Variant::FLOAT">{_data._float}</DisplayString>
|
2019-03-12 07:59:30 +00:00
|
|
|
<DisplayString Condition="type == Variant::TRANSFORM2D">{_data._transform2d}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::AABB">{_data._aabb}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::BASIS">{_data._basis}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::TRANSFORM">{_data._transform}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::STRING">{*(String *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::VECTOR2">{*(Vector2 *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::RECT2">{*(Rect2 *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::VECTOR3">{*(Vector3 *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PLANE">{*(Plane *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::QUAT">{*(Quat *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::COLOR">{*(Color *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::NODE_PATH">{*(NodePath *)_data._mem}</DisplayString>
|
2020-12-28 13:37:36 +00:00
|
|
|
<DisplayString Condition="type == Variant::RID">{*(::RID *)_data._mem}</DisplayString>
|
2019-03-12 07:59:30 +00:00
|
|
|
<DisplayString Condition="type == Variant::OBJECT">{*(Object *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::DICTIONARY">{*(Dictionary *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::ARRAY">{*(Array *)_data._mem}</DisplayString>
|
2020-12-28 13:37:36 +00:00
|
|
|
<DisplayString Condition="type == Variant::PACKED_BYTE_ARRAY">{*(PackedByteArray *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_INT32_ARRAY">{*(PackedInt32Array *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_INT64_ARRAY">{*(PackedInt64Array *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_FLOAT32_ARRAY">{*(PackedFloat32Array *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_FLOAT64_ARRAY">{*(PackedFloat64Array *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_STRING_ARRAY">{*(PackedStringArray *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_VECTOR2_ARRAY">{*(PackedVector2Array *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_VECTOR3_ARRAY">{*(PackedVector3Array *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_COLOR_ARRAY">{*(PackedColorArray *)_data._mem}</DisplayString>
|
2018-09-16 00:50:39 +00:00
|
|
|
|
2020-12-28 13:37:36 +00:00
|
|
|
<StringView Condition="type == Variant::STRING && ((String *)(_data._mem))->_cowdata._ptr">((String *)(_data._mem))->_cowdata._ptr,s32</StringView>
|
2020-07-25 19:38:34 +00:00
|
|
|
|
2018-09-16 00:50:39 +00:00
|
|
|
<Expand>
|
2019-03-12 07:59:30 +00:00
|
|
|
<Item Name="[value]" Condition="type == Variant::BOOL">_data._bool</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::INT">_data._int</Item>
|
2020-12-28 13:37:36 +00:00
|
|
|
<Item Name="[value]" Condition="type == Variant::FLOAT">_data._float</Item>
|
2019-03-12 07:59:30 +00:00
|
|
|
<Item Name="[value]" Condition="type == Variant::TRANSFORM2D">_data._transform2d</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::AABB">_data._aabb</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::BASIS">_data._basis</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::TRANSFORM">_data._transform</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::STRING">*(String *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::VECTOR2">*(Vector2 *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::RECT2">*(Rect2 *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::VECTOR3">*(Vector3 *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PLANE">*(Plane *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::QUAT">*(Quat *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::COLOR">*(Color *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::NODE_PATH">*(NodePath *)_data._mem</Item>
|
2020-12-28 13:37:36 +00:00
|
|
|
<Item Name="[value]" Condition="type == Variant::RID">*(::RID *)_data._mem</Item>
|
2019-03-12 07:59:30 +00:00
|
|
|
<Item Name="[value]" Condition="type == Variant::OBJECT">*(Object *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::DICTIONARY">*(Dictionary *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::ARRAY">*(Array *)_data._mem</Item>
|
2020-12-28 13:37:36 +00:00
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_BYTE_ARRAY">*(PackedByteArray *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_INT32_ARRAY">*(PackedInt32Array *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_INT64_ARRAY">*(PackedInt64Array *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_FLOAT32_ARRAY">*(PackedFloat32Array *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_FLOAT64_ARRAY">*(PackedFloat64Array *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_STRING_ARRAY">*(PackedStringArray *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_VECTOR2_ARRAY">*(PackedVector2Array *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_VECTOR3_ARRAY">*(PackedVector3Array *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_COLOR_ARRAY">*(PackedColorArray *)_data._mem</Item>
|
2018-09-16 00:50:39 +00:00
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="String">
|
2019-03-12 07:59:30 +00:00
|
|
|
<DisplayString Condition="_cowdata._ptr == 0">[empty]</DisplayString>
|
2020-12-28 13:37:36 +00:00
|
|
|
<DisplayString Condition="_cowdata._ptr != 0">{_cowdata._ptr,s32}</DisplayString>
|
|
|
|
<StringView Condition="_cowdata._ptr != 0">_cowdata._ptr,s32</StringView>
|
2019-03-12 07:59:30 +00:00
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="StringName">
|
|
|
|
<DisplayString Condition="_data && _data->cname">{_data->cname}</DisplayString>
|
2020-12-28 13:37:36 +00:00
|
|
|
<DisplayString Condition="_data && !_data->cname">{_data->name,s32}</DisplayString>
|
2019-03-12 07:59:30 +00:00
|
|
|
<DisplayString Condition="!_data">[empty]</DisplayString>
|
|
|
|
<StringView Condition="_data && _data->cname">_data->cname</StringView>
|
2020-12-28 13:37:36 +00:00
|
|
|
<StringView Condition="_data && !_data->cname">_data->name,s32</StringView>
|
2018-09-16 00:50:39 +00:00
|
|
|
</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>
|
2020-07-25 19:38:34 +00:00
|
|
|
|
2019-10-29 09:13:34 +00:00
|
|
|
<Type Name="Node" Inheritable="false">
|
|
|
|
<Expand>
|
|
|
|
<Item Name="Object">(Object*)this</Item>
|
|
|
|
<Item Name="class_name">(StringName*)(((char*)this) + sizeof(Object))</Item>
|
|
|
|
<Item Name="data">(Node::Data*)(((char*)this) + sizeof(Object) + sizeof(StringName))</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
2018-09-16 00:50:39 +00:00
|
|
|
</AutoVisualizer>
|