pub struct VirtualProductionConfig {
pub workflow: WorkflowType,
pub target_fps: f64,
pub sync_accuracy_ms: f64,
pub quality: QualityMode,
pub color_calibration: bool,
pub lens_correction: bool,
pub num_cameras: usize,
pub motion_capture: bool,
pub unreal_integration: bool,
}Expand description
Virtual production configuration
Fields§
§workflow: WorkflowTypeWorkflow type
target_fps: f64Target frames per second (minimum 60fps recommended)
sync_accuracy_ms: f64Synchronization accuracy in milliseconds (target <1ms)
quality: QualityModeQuality mode
color_calibration: boolEnable color calibration
lens_correction: boolEnable lens distortion correction
num_cameras: usizeNumber of cameras to track
motion_capture: boolEnable motion capture integration
unreal_integration: boolEnable Unreal Engine integration
Implementations§
Source§impl VirtualProductionConfig
impl VirtualProductionConfig
Sourcepub fn with_workflow(self, workflow: WorkflowType) -> Self
pub fn with_workflow(self, workflow: WorkflowType) -> Self
Set workflow type
Sourcepub fn with_target_fps(self, fps: f64) -> Self
pub fn with_target_fps(self, fps: f64) -> Self
Set target FPS
Sourcepub fn with_sync_accuracy_ms(self, accuracy: f64) -> Self
pub fn with_sync_accuracy_ms(self, accuracy: f64) -> Self
Set sync accuracy in milliseconds
Sourcepub fn with_quality(self, quality: QualityMode) -> Self
pub fn with_quality(self, quality: QualityMode) -> Self
Set quality mode
Sourcepub fn with_num_cameras(self, num: usize) -> Self
pub fn with_num_cameras(self, num: usize) -> Self
Set number of cameras
Trait Implementations§
Source§impl Clone for VirtualProductionConfig
impl Clone for VirtualProductionConfig
Source§fn clone(&self) -> VirtualProductionConfig
fn clone(&self) -> VirtualProductionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VirtualProductionConfig
impl Debug for VirtualProductionConfig
Source§impl Default for VirtualProductionConfig
impl Default for VirtualProductionConfig
Source§impl<'de> Deserialize<'de> for VirtualProductionConfig
impl<'de> Deserialize<'de> for VirtualProductionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VirtualProductionConfig
impl RefUnwindSafe for VirtualProductionConfig
impl Send for VirtualProductionConfig
impl Sync for VirtualProductionConfig
impl Unpin for VirtualProductionConfig
impl UnsafeUnpin for VirtualProductionConfig
impl UnwindSafe for VirtualProductionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more