google-ar / arcore-unreal-sdk

ARCore SDK for Unreal
https://developers.google.com/ar/
Apache License 2.0
277 stars 122 forks source link

How add downloaded image to Runtime Candidate Image #56

Open FynjyAC opened 5 years ago

FynjyAC commented 5 years ago

Hi. Unreal can download image and return Texture2DDynamic. But exture2DDynamic cannot be converted to Texture2D.

bopangzz commented 5 years ago

You should be able to do that by calling the C++ function: UGoogleARCoreSessionFunctionLibrary::AddRuntimeCandidateImageFromRawbytes

JayChang-zhe commented 4 years ago

@bopangzz @FynjyAC Hey, guys, is the node "AddRuntimeCandidateImage" works? I struggle for a few days, i import the Texture2D from local storage or just use the texture(.uasset inside content ) with the native node "AddRuntimeCandidateImage", but it can not work, do you guys have this kind of problem?