- GPSProlapse
- Posts: 2
- Joined:
Is there some way to pass from Unreal C++ a value that would be interpreted as DateTime on xaml side?
Maybe I am blind, but I don't see any type that is like C# DateTime in Noesis API files.
I guess, I could make some weird TicksToDateTimeConverter class, but that's hacky. Is it a common way to do this?
I guess, I could make some weird TicksToDateTimeConverter class, but that's hacky. Is it a common way to do this?
Re: Is there some way to pass from Unreal C++ a value that would be interpreted as DateTime on xaml side?
Hi,
No, there's no type right now that maps to a DateTime, but I can map Unreal's FDateTime to Noesis::DateTime for Bindings.
I've created a ticket to track this issue: https://www.noesisengine.com/bugs/view.php?id=2646
No, there's no type right now that maps to a DateTime, but I can map Unreal's FDateTime to Noesis::DateTime for Bindings.
I've created a ticket to track this issue: https://www.noesisengine.com/bugs/view.php?id=2646
- GPSProlapse
- Posts: 2
- Joined:
Re: Is there some way to pass from Unreal C++ a value that would be interpreted as DateTime on xaml side?
That's very cool, thank you!
For the time being, is Noesis::DateTime defined somewhere publicly? I can't find it anywhere in the source files from "Unreal 5.1 Plugin" download. I do see related stuff in binaries though.
For the time being, is Noesis::DateTime defined somewhere publicly? I can't find it anywhere in the source files from "Unreal 5.1 Plugin" download. I do see related stuff in binaries though.
Code: Select all
PS NoesisGUI-UE5.1-3.2.1-Indie> Get-ChildItem -Recurse -Filter "*.h" | Select-String DateTime
Plugins\NoesisGUI\Source\Noesis\NoesisSDK\Include\NsGui\IView.h:76: float updateTime;
Plugins\NoesisGUI\Source\Noesis\NoesisSDK\Src\Packages\App\LangServer\Src\Document.h:24: double lastUpdateTime;
PS NoesisGUI-UE5.1-3.2.1-Indie> Get-ChildItem -Recurse -Filter "*.cpp" | Select-String DateTime
Plugins\NoesisGUI\Source\Noesis\NoesisSDK\Src\Packages\App\LangServer\Src\MessageReader.cpp:46: document.lastUpdateTime = currentTime;
Plugins\NoesisGUI\Source\Noesis\NoesisSDK\Src\Packages\App\LangServer\Src\MessageReader.cpp:67: document.lastUpdateTime = currentTime;
-
sfernandez
Site Admin
- Posts: 3109
- Joined:
Re: Is there some way to pass from Unreal C++ a value that would be interpreted as DateTime on xaml side?
Sorry, there is no public DateTime type in Noesis yet.
We will expose that type and include the corresponding date-time formats for data binding.
We will expose that type and include the corresponding date-time formats for data binding.
Who is online
Users browsing this forum: Google [Bot] and 1 guest