34 lines
2.0 KiB
XML
34 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
|
|
<!--
|
|
*
|
|
* RigVM Visualizers
|
|
*
|
|
-->
|
|
|
|
<!-- RigVMCore Visualizers -->
|
|
|
|
<Type Name="FRigVMExternalVariable">
|
|
<Expand>
|
|
<!-- CustomList just so we can have variables -->
|
|
<CustomListItems>
|
|
<Variable Name="DbgName" InitialValue="&Name"/>
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "bool", 4) == 0">*(bool*)Memory</Item>
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "int32", 5) == 0">*(int32*)Memory</Item>
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "float", 5) == 0">*(float*)Memory</Item>
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "double", 6) == 0">*(double*)Memory</Item>
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "FName", 5) == 0">*(FName*)Memory</Item>
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "FString", 7) == 0">*(FString*)Memory</Item>
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "FVector", 7) == 0">*(FVector*)Memory</Item>
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "FRotator", 8) == 0">*(FRotator*)Memory</Item>
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "FQuat", 5) == 0">*(FQuat*)Memory</Item>
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "FTransform", 10) == 0">*(FTransform*)Memory</Item>
|
|
<!--<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "FEulerTransform", 15) == 0">*(FEulerTransform*)Memory</Item>-->
|
|
<Item Name="[{*DbgName,sb}]" Condition="memcmp(&TypeName[0], "FMatrix", 7) == 0">*(FMatrix*)Memory</Item>
|
|
</CustomListItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
</AutoVisualizer>
|