rakata_generics/git/
camera.rs1use rakata_formats::GffModel;
4#[derive(Debug, Clone, PartialEq, GffModel)]
8pub struct GitCamera {
9 #[gff(CameraID, stamped = -1)]
11 pub camera_id: i32,
12 #[gff(Position, stamped = [0.0, 0.0, 0.0])]
14 pub position: [f32; 3],
15 #[gff(Orientation, stamped = [1.0, 0.0, 0.0, 0.0])]
17 pub orientation: [f32; 4],
18 #[gff(Pitch, stamped)]
20 pub pitch: f32,
21 #[gff(Height, stamped)]
23 pub height: f32,
24 #[gff(FieldOfView, stamped = 55.0)]
26 pub field_of_view: f32,
27 #[gff(MicRange, stamped)]
29 pub mic_range: f32,
30}