例如:我提供一个窗口句柄,然后在这个窗口上使用ue4来显示3d场景(类似d3d9)。
这种方式倒是没有试过,你可以试试看看,找找ue4的相关代码吧。
这是把 ue 当做 opengl 用了吧,估计不行,除非只是简单的另外起个进程运行 ue 的程序
你需要创建 UWorld 和 Viewport
你可能需要看一下 官方的自定义编辑器 Creating custom editor windows/tools? - Plugins - Unreal Engine Forums
例如:我提供一个窗口句柄,然后在这个窗口上使用ue4来显示3d场景(类似d3d9)。
这种方式倒是没有试过,你可以试试看看,找找ue4的相关代码吧。
这是把 ue 当做 opengl 用了吧,估计不行,除非只是简单的另外起个进程运行 ue 的程序
你需要创建 UWorld 和 Viewport
你可能需要看一下 官方的自定义编辑器 Creating custom editor windows/tools? - Plugins - Unreal Engine Forums