mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
02ea99129e
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server. Other parts of Godot can interact with this to obtain images from the camera as textures. This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
8 lines
104 B
Python
8 lines
104 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
|
|
env.add_source_files(env.servers_sources, "*.cpp")
|
|
|
|
Export('env')
|