Use C++ from RealityKit

Hi, is it possible to use C++ to compute some stuff for laying out the entities in RealityKit?

For example, can I still make an Obc-C++ wrapper around my C++ code, and then call it from Swift, and update Entities in RealityKit.

P.S. I don't want to use RealityKit from C++.

Answered by maxxfrazer in 418950022

I don't see any reason why you wouldn't be able to do that. You can't interface directly with RealityKit from C++, but no reason that you can't run some calculations with C++ and read that back into your Swift code.

Accepted Answer

I don't see any reason why you wouldn't be able to do that. You can't interface directly with RealityKit from C++, but no reason that you can't run some calculations with C++ and read that back into your Swift code.

🙈🙉🙊

🤖

Use C++ from RealityKit
 
 
Q