MCPcopy Create free account
hub / github.com/PerroEngine/Perro / CameraStream

Class CameraStream

perro_source/core/perro_nodes/src/nodes/camera_stream.rs:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8#[derive(Clone, Debug, PartialEq)]
9pub struct CameraStream {
10 pub camera: NodeID,
11 pub resolution: UVector2,
12 pub aspect_ratio: f32,
13 pub aspect_mode: UiImageScaleMode,
14 pub post_processing: PostProcessSet,
15 pub enabled: bool,
16}
17
18impl CameraStream {
19 #[deprecated(note = "use CameraStream::default()")]

Callers 6

setup_stream_2dFunction · 0.85
setup_stream_3dFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected