Skip to content

Commit 2aa0be9

Browse files
committed
feat: Vector3 XAML conversion
1 parent 3322f10 commit 2aa0be9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlFileGenerator.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4385,6 +4385,9 @@ string Inner()
43854385
case "Windows.Foundation.Point":
43864386
return "new Windows.Foundation.Point(" + SplitAndJoin(memberValue) + ")";
43874387

4388+
case "System.Numerics.Vector3":
4389+
return "new global::System.Numerics.Vector3(" + memberValue + ")";
4390+
43884391
case "Windows.UI.Xaml.Input.InputScope":
43894392
return "new global::Windows.UI.Xaml.Input.InputScope { Names = { new global::Windows.UI.Xaml.Input.InputScopeName { NameValue = global::Windows.UI.Xaml.Input.InputScopeNameValue." + memberValue + "} } }";
43904393

0 commit comments

Comments
 (0)