2018-09-16 02:50:39 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
|
|
<Type Name="Vector<*>">
|
|
|
|
<Expand>
|
2024-02-01 22:40:06 +01:00
|
|
|
<Item Name="[size]">_cowdata._ptr ? (((const unsigned long long *)(_cowdata._ptr))[-1]) : 0</Item>
|
2018-09-16 02:50:39 +02:00
|
|
|
<ArrayItems>
|
2024-02-01 22:40:06 +01:00
|
|
|
<Size>_cowdata._ptr ? (((const unsigned long long *)(_cowdata._ptr))[-1]) : 0</Size>
|
2024-01-10 18:05:41 +01:00
|
|
|
<ValuePointer>($T1 *) _cowdata._ptr</ValuePointer>
|
2018-09-16 02:50:39 +02:00
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2024-01-10 18:05:41 +01:00
|
|
|
<Type Name="Array">
|
|
|
|
<Expand>
|
2024-02-01 22:40:06 +01:00
|
|
|
<Item Name="[size]">_p->array._cowdata._ptr ? (((const unsigned long long *)(_p->array._cowdata._ptr))[-1]) : 0</Item>
|
2024-01-10 18:05:41 +01:00
|
|
|
<ArrayItems>
|
2024-02-01 22:40:06 +01:00
|
|
|
<Size>_p->array._cowdata._ptr ? (((const unsigned long long *)(_p->array._cowdata._ptr))[-1]) : 0</Size>
|
2024-01-10 18:05:41 +01:00
|
|
|
<ValuePointer>(Variant *) _p->array._cowdata._ptr</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="TypedArray<*>">
|
|
|
|
<Expand>
|
2024-02-01 22:40:06 +01:00
|
|
|
<Item Name="[size]"> _p->array._cowdata._ptr ? (((const unsigned long long *)(_p->array._cowdata._ptr))[-1]) : 0</Item>
|
2024-01-10 18:05:41 +01:00
|
|
|
<ArrayItems>
|
2024-02-01 22:40:06 +01:00
|
|
|
<Size>_p->array._cowdata._ptr ? (((const unsigned long long *)(_p->array._cowdata._ptr))[-1]) : 0</Size>
|
2024-01-10 18:05:41 +01:00
|
|
|
<ValuePointer >(Variant *) _p->array._cowdata._ptr</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="Dictionary">
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[size]">_p && _p->variant_map.head_element ? _p->variant_map.num_elements : 0</Item>
|
|
|
|
<LinkedListItems>
|
|
|
|
<Size>_p && _p->variant_map.head_element ? _p->variant_map.num_elements : 0</Size>
|
|
|
|
<HeadPointer>_p ? _p->variant_map.head_element : nullptr</HeadPointer>
|
|
|
|
<NextPointer>next</NextPointer>
|
|
|
|
<ValueNode Name="[{data.key}]">(*this),view(MapHelper)</ValueNode>
|
|
|
|
</LinkedListItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2021-02-25 02:18:00 +01:00
|
|
|
<Type Name="LocalVector<*>">
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[size]">count</Item>
|
|
|
|
<ArrayItems>
|
|
|
|
<Size>count</Size>
|
|
|
|
<ValuePointer>data</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2019-03-12 08:59:30 +01: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 02:50:39 +02:00
|
|
|
|
2024-01-10 18:05:41 +01:00
|
|
|
<Type Name="NodePath">
|
|
|
|
<DisplayString Condition="!data">[empty]</DisplayString>
|
|
|
|
<DisplayString Condition="!!data">{{[absolute] = {data->absolute} [path] = {data->path,view(NodePathHelper)} [subpath] = {data->subpath,view(NodePathHelper)}}}</DisplayString>
|
2022-09-04 18:06:26 +02:00
|
|
|
<Expand>
|
2024-01-10 18:05:41 +01:00
|
|
|
<Item Name="[path]">data->path,view(NodePathHelper)</Item>
|
|
|
|
<Item Name="[subpath]">data->subpath,view(NodePathHelper)</Item>
|
|
|
|
<Item Name="[absolute]">data->absolute</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="Vector<StringName>" IncludeView="NodePathHelper">
|
|
|
|
<Expand>
|
|
|
|
<ArrayItems>
|
2024-02-01 22:40:06 +01:00
|
|
|
<Size>_cowdata._ptr ? (((const unsigned long long *)(_cowdata._ptr))[-1]) : 0</Size>
|
2024-01-10 18:05:41 +01:00
|
|
|
<ValuePointer>((StringName *)_cowdata._ptr),view(NodePathHelper)</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="StringName" IncludeView="NodePathHelper">
|
|
|
|
<DisplayString Condition="_data && _data->cname">{_data->cname,s8b}</DisplayString>
|
|
|
|
<DisplayString Condition="_data && !_data->cname">{_data->name,s32b}</DisplayString>
|
|
|
|
<DisplayString Condition="!_data">[empty]</DisplayString>
|
|
|
|
<StringView Condition="_data && _data->cname">_data->cname,s8b</StringView>
|
|
|
|
<StringView Condition="_data && !_data->cname">_data->name,s32b</StringView>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="HashMapElement<*,*>">
|
|
|
|
<DisplayString>{{Key = {($T1 *) &data.key} Value = {($T2 *) &data.value}}}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[key]">($T1 *) &data.key</Item>
|
|
|
|
<Item Name="[value]">($T2 *) &data.value</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<!-- elements displayed by index -->
|
|
|
|
<Type Name="HashMap<*,*,*,*,*>" Priority="Medium">
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[size]">head_element ? num_elements : 0</Item>
|
2022-09-04 18:06:26 +02:00
|
|
|
<LinkedListItems>
|
2024-01-10 18:05:41 +01:00
|
|
|
<Size>head_element ? num_elements : 0</Size>
|
2022-09-04 18:06:26 +02:00
|
|
|
<HeadPointer>head_element</HeadPointer>
|
|
|
|
<NextPointer>next</NextPointer>
|
2024-01-10 18:05:41 +01:00
|
|
|
<ValueNode>(*this)</ValueNode>
|
2022-09-04 18:06:26 +02:00
|
|
|
</LinkedListItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2024-01-10 18:05:41 +01:00
|
|
|
<!-- elements by key:value -->
|
|
|
|
<!-- show elements by index by specifying "ShowElementsByIndex"-->
|
|
|
|
<Type Name="HashMap<*,*,*,*,*>" ExcludeView="ShowElementsByIndex" Priority="MediumHigh">
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[size]">head_element ? num_elements : 0</Item>
|
|
|
|
<LinkedListItems>
|
|
|
|
<Size>head_element ? num_elements : 0</Size>
|
|
|
|
<HeadPointer>head_element</HeadPointer>
|
|
|
|
<NextPointer>next</NextPointer>
|
|
|
|
<ValueNode Name="[{data.key}]">(*this),view(MapHelper)</ValueNode>
|
|
|
|
</LinkedListItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="KeyValue<*,*>" IncludeView="MapHelper">
|
|
|
|
<DisplayString>{value}</DisplayString>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="HashMapElement<*,*>" IncludeView="MapHelper">
|
|
|
|
<DisplayString>{data.value}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[key]" >($T1 *) &data.key</Item>
|
|
|
|
<Item Name="[value]">($T2 *) &data.value</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2022-09-04 18:06:26 +02:00
|
|
|
<Type Name="VMap<*,*>">
|
|
|
|
<Expand>
|
2024-02-01 22:40:06 +01:00
|
|
|
<Item Condition="_cowdata._ptr" Name="[size]">*(reinterpret_cast<long long*>(_cowdata._ptr) - 1)</Item>
|
2022-09-04 18:06:26 +02:00
|
|
|
<ArrayItems Condition="_cowdata._ptr">
|
2024-02-01 22:40:06 +01:00
|
|
|
<Size>*(reinterpret_cast<long long*>(_cowdata._ptr) - 1)</Size>
|
2022-09-04 18:06:26 +02:00
|
|
|
<ValuePointer>reinterpret_cast<VMap<$T1,$T2>::Pair*>(_cowdata._ptr)</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="VMap<Callable,*>::Pair">
|
|
|
|
<DisplayString Condition="dynamic_cast<CallableCustomMethodPointerBase*>(key.custom)">{dynamic_cast<CallableCustomMethodPointerBase*>(key.custom)->text}</DisplayString>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
|
2018-09-16 02:50:39 +02:00
|
|
|
<Type Name="Variant">
|
2019-03-12 08:59:30 +01: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 14:37:36 +01:00
|
|
|
<DisplayString Condition="type == Variant::FLOAT">{_data._float}</DisplayString>
|
2019-03-12 08:59:30 +01: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>
|
2022-07-21 18:35:21 +02:00
|
|
|
<DisplayString Condition="type == Variant::TRANSFORM3D">{_data._transform3d}</DisplayString>
|
Implement Vector4, Vector4i, Projection
Implement built-in classes Vector4, Vector4i and Projection.
* Two versions of Vector4 (float and integer).
* A Projection class, which is a 4x4 matrix specialized in projection types.
These types have been requested for a long time, but given they were very corner case they were not added before.
Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity.
**Q**: Why Projection and not Matrix4?
**A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-20 01:11:13 +02:00
|
|
|
<DisplayString Condition="type == Variant::PROJECTION">{_data._projection}</DisplayString>
|
2019-03-12 08:59:30 +01:00
|
|
|
<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>
|
Implement Vector4, Vector4i, Projection
Implement built-in classes Vector4, Vector4i and Projection.
* Two versions of Vector4 (float and integer).
* A Projection class, which is a 4x4 matrix specialized in projection types.
These types have been requested for a long time, but given they were very corner case they were not added before.
Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity.
**Q**: Why Projection and not Matrix4?
**A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-20 01:11:13 +02:00
|
|
|
<DisplayString Condition="type == Variant::VECTOR4">{*(Vector4 *)_data._mem}</DisplayString>
|
2019-03-12 08:59:30 +01:00
|
|
|
<DisplayString Condition="type == Variant::PLANE">{*(Plane *)_data._mem}</DisplayString>
|
2021-01-20 08:02:02 +01:00
|
|
|
<DisplayString Condition="type == Variant::QUATERNION">{*(Quaternion *)_data._mem}</DisplayString>
|
2019-03-12 08:59:30 +01:00
|
|
|
<DisplayString Condition="type == Variant::COLOR">{*(Color *)_data._mem}</DisplayString>
|
2024-01-10 18:05:41 +01:00
|
|
|
<DisplayString Condition="type == Variant::STRING_NAME">{*(StringName *)_data._mem}</DisplayString>
|
2019-03-12 08:59:30 +01:00
|
|
|
<DisplayString Condition="type == Variant::NODE_PATH">{*(NodePath *)_data._mem}</DisplayString>
|
2020-12-28 14:37:36 +01:00
|
|
|
<DisplayString Condition="type == Variant::RID">{*(::RID *)_data._mem}</DisplayString>
|
2024-01-10 18:05:41 +01:00
|
|
|
<DisplayString Condition="type == Variant::OBJECT">{*(*reinterpret_cast<ObjData*>(&_data._mem[0])).obj}</DisplayString>
|
2019-03-12 08:59:30 +01:00
|
|
|
<DisplayString Condition="type == Variant::DICTIONARY">{*(Dictionary *)_data._mem}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::ARRAY">{*(Array *)_data._mem}</DisplayString>
|
2022-09-04 18:06:26 +02:00
|
|
|
<DisplayString Condition="type == Variant::PACKED_BYTE_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<unsigned char>*>(_data.packed_array)->array}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_INT32_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<int>*>(_data.packed_array)->array}</DisplayString>
|
2024-01-10 18:05:41 +01:00
|
|
|
<DisplayString Condition="type == Variant::PACKED_INT64_ARRAY">{*reinterpret_cast<PackedInt64Array *>(&_data.packed_array[1])}</DisplayString>
|
2022-09-04 18:06:26 +02:00
|
|
|
<DisplayString Condition="type == Variant::PACKED_FLOAT32_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<float>*>(_data.packed_array)->array}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_FLOAT64_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<double>*>(_data.packed_array)->array}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_STRING_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<String>*>(_data.packed_array)->array}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_VECTOR2_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<Vector2>*>(_data.packed_array)->array}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_VECTOR3_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<Vector3>*>(_data.packed_array)->array}</DisplayString>
|
|
|
|
<DisplayString Condition="type == Variant::PACKED_COLOR_ARRAY">{reinterpret_cast<const Variant::PackedArrayRef<Color>*>(_data.packed_array)->array}</DisplayString>
|
2024-01-10 18:05:41 +01:00
|
|
|
<DisplayString Condition="type < 0 || type >= Variant::VARIANT_MAX">[INVALID]</DisplayString>
|
2018-09-16 02:50:39 +02:00
|
|
|
|
2020-12-28 14:37:36 +01:00
|
|
|
<StringView Condition="type == Variant::STRING && ((String *)(_data._mem))->_cowdata._ptr">((String *)(_data._mem))->_cowdata._ptr,s32</StringView>
|
2020-07-25 21:38:34 +02:00
|
|
|
|
2018-09-16 02:50:39 +02:00
|
|
|
<Expand>
|
2019-03-12 08:59:30 +01:00
|
|
|
<Item Name="[value]" Condition="type == Variant::BOOL">_data._bool</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::INT">_data._int</Item>
|
2020-12-28 14:37:36 +01:00
|
|
|
<Item Name="[value]" Condition="type == Variant::FLOAT">_data._float</Item>
|
2019-03-12 08:59:30 +01: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>
|
2022-07-21 18:35:21 +02:00
|
|
|
<Item Name="[value]" Condition="type == Variant::TRANSFORM3D">_data._transform3d</Item>
|
2019-03-12 08:59:30 +01:00
|
|
|
<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>
|
2021-01-20 08:02:02 +01:00
|
|
|
<Item Name="[value]" Condition="type == Variant::QUATERNION">*(Quaternion *)_data._mem</Item>
|
2019-03-12 08:59:30 +01:00
|
|
|
<Item Name="[value]" Condition="type == Variant::COLOR">*(Color *)_data._mem</Item>
|
2024-01-10 18:05:41 +01:00
|
|
|
<Item Name="[value]" Condition="type == Variant::STRING_NAME">*(StringName *)_data._mem</Item>
|
2019-03-12 08:59:30 +01:00
|
|
|
<Item Name="[value]" Condition="type == Variant::NODE_PATH">*(NodePath *)_data._mem</Item>
|
2020-12-28 14:37:36 +01:00
|
|
|
<Item Name="[value]" Condition="type == Variant::RID">*(::RID *)_data._mem</Item>
|
2024-01-10 18:05:41 +01:00
|
|
|
<Item Name="[value]" Condition="type == Variant::OBJECT">*(*reinterpret_cast<ObjData*>(&_data._mem[0])).obj</Item>
|
2019-03-12 08:59:30 +01:00
|
|
|
<Item Name="[value]" Condition="type == Variant::DICTIONARY">*(Dictionary *)_data._mem</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::ARRAY">*(Array *)_data._mem</Item>
|
2022-09-04 18:06:26 +02:00
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_BYTE_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<unsigned char>*>(_data.packed_array)->array</Item>
|
2024-01-10 18:05:41 +01:00
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_INT32_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<int>*>(_data.packed_array)->array</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_INT64_ARRAY">*reinterpret_cast<PackedInt64Array *>(&_data.packed_array[1])</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_FLOAT32_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<float>*>(_data.packed_array)->array</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_FLOAT64_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<double>*>(_data.packed_array)->array</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_STRING_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<String>*>(_data.packed_array)->array</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_VECTOR2_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<Vector2>*>(_data.packed_array)->array</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_VECTOR3_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<Vector3>*>(_data.packed_array)->array</Item>
|
|
|
|
<Item Name="[value]" Condition="type == Variant::PACKED_COLOR_ARRAY">reinterpret_cast<const Variant::PackedArrayRef<Color>*>(_data.packed_array)->array</Item>
|
|
|
|
|
2018-09-16 02:50:39 +02:00
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="String">
|
2019-03-12 08:59:30 +01:00
|
|
|
<DisplayString Condition="_cowdata._ptr == 0">[empty]</DisplayString>
|
2020-12-28 14:37:36 +01:00
|
|
|
<DisplayString Condition="_cowdata._ptr != 0">{_cowdata._ptr,s32}</DisplayString>
|
|
|
|
<StringView Condition="_cowdata._ptr != 0">_cowdata._ptr,s32</StringView>
|
2019-03-12 08:59:30 +01:00
|
|
|
</Type>
|
|
|
|
|
2022-09-04 18:06:26 +02:00
|
|
|
<Type Name="godot::String">
|
|
|
|
<DisplayString>{*reinterpret_cast<void**>(opaque),s32}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="opaque_ptr">*reinterpret_cast<void**>(opaque)</Item>
|
|
|
|
<Item Name="string">*reinterpret_cast<void**>(opaque),s32</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2019-03-12 08:59:30 +01:00
|
|
|
<Type Name="StringName">
|
2024-01-10 18:05:41 +01:00
|
|
|
<DisplayString Condition="_data && _data->cname">{_data->cname,na}</DisplayString>
|
2020-12-28 14:37:36 +01:00
|
|
|
<DisplayString Condition="_data && !_data->cname">{_data->name,s32}</DisplayString>
|
2019-03-12 08:59:30 +01:00
|
|
|
<DisplayString Condition="!_data">[empty]</DisplayString>
|
2024-01-10 18:05:41 +01:00
|
|
|
<StringView Condition="_data && _data->cname">_data->cname,na</StringView>
|
2020-12-28 14:37:36 +01:00
|
|
|
<StringView Condition="_data && !_data->cname">_data->name,s32</StringView>
|
2018-09-16 02:50:39 +02:00
|
|
|
</Type>
|
|
|
|
|
2022-09-04 18:06:26 +02:00
|
|
|
<!-- can't cast the opaque to ::StringName because Natvis does not support global namespace specifier? -->
|
|
|
|
<Type Name="godot::StringName">
|
|
|
|
<DisplayString Condition="(*reinterpret_cast<const char***>(opaque))[1]">{(*reinterpret_cast<const char***>(opaque))[1],s8}</DisplayString>
|
|
|
|
<DisplayString Condition="!(*reinterpret_cast<const char***>(opaque))[1]">{(*reinterpret_cast<const char***>(opaque))[2],s32}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="opaque_ptr">*reinterpret_cast<void**>(opaque)</Item>
|
|
|
|
<Item Name="&cname">(*reinterpret_cast<const char***>(opaque))+1</Item>
|
|
|
|
<Item Name="cname">(*reinterpret_cast<const char***>(opaque))[1],s8</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="Object::SignalData">
|
|
|
|
<DisplayString Condition="user.name._cowdata._ptr">"{user.name}" {slot_map}</DisplayString>
|
|
|
|
<DisplayString Condition="!user.name._cowdata._ptr">"{slot_map}</DisplayString>
|
|
|
|
</Type>
|
|
|
|
|
2018-09-16 02:50:39 +02:00
|
|
|
<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>
|
|
|
|
|
2021-01-20 08:02:02 +01:00
|
|
|
<Type Name="Quaternion">
|
|
|
|
<DisplayString>Quaternion {{{x},{y},{z},{w}}}</DisplayString>
|
2018-09-16 02:50:39 +02:00
|
|
|
<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>
|