You've already forked godot
							
							
				mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 11:50:27 +00:00 
			
		
		
		
	Expose CameraFeed::set_ycbcr_images
This commit is contained in:
		@@ -101,6 +101,14 @@
 | 
			
		||||
				Sets YCbCr image for this feed.
 | 
			
		||||
			</description>
 | 
			
		||||
		</method>
 | 
			
		||||
		<method name="set_ycbcr_images">
 | 
			
		||||
			<return type="void" />
 | 
			
		||||
			<param index="0" name="y_image" type="Image" />
 | 
			
		||||
			<param index="1" name="cbcr_image" type="Image" />
 | 
			
		||||
			<description>
 | 
			
		||||
				Sets Y and CbCr images for this feed.
 | 
			
		||||
			</description>
 | 
			
		||||
		</method>
 | 
			
		||||
	</methods>
 | 
			
		||||
	<members>
 | 
			
		||||
		<member name="feed_is_active" type="bool" setter="set_active" getter="is_active" default="false">
 | 
			
		||||
 
 | 
			
		||||
@@ -50,6 +50,7 @@ void CameraFeed::_bind_methods() {
 | 
			
		||||
 | 
			
		||||
	ClassDB::bind_method(D_METHOD("set_rgb_image", "rgb_image"), &CameraFeed::set_rgb_image);
 | 
			
		||||
	ClassDB::bind_method(D_METHOD("set_ycbcr_image", "ycbcr_image"), &CameraFeed::set_ycbcr_image);
 | 
			
		||||
	ClassDB::bind_method(D_METHOD("set_ycbcr_images", "y_image", "cbcr_image"), &CameraFeed::set_ycbcr_images);
 | 
			
		||||
	ClassDB::bind_method(D_METHOD("set_external", "width", "height"), &CameraFeed::set_external);
 | 
			
		||||
	ClassDB::bind_method(D_METHOD("get_texture_tex_id", "feed_image_type"), &CameraFeed::get_texture_tex_id);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user