pub struct NativeShot {Show 19 fields
pub side: u32,
pub camera_yaw: f32,
pub camera_pitch: f32,
pub camera_distance: f32,
pub camera_target: [f32; 3],
pub sun_direction: [f32; 3],
pub direct_intensity: f32,
pub ambient_intensity: f32,
pub clear_color: [f32; 4],
pub shadows: bool,
pub ao_enabled: bool,
pub ao_radius: f32,
pub ao_strength: f32,
pub ao_bias: f32,
pub ao_samples: u32,
pub environment_probes: Vec<ShotProbe>,
pub environment_fallback_rgb: [f32; 3],
pub clip_id: Option<u64>,
pub times: Vec<f64>,
}Fields§
§side: u32§camera_yaw: f32§camera_pitch: f32§camera_distance: f32§camera_target: [f32; 3]§sun_direction: [f32; 3]§direct_intensity: f32§ambient_intensity: f32§clear_color: [f32; 4]§shadows: bool§ao_enabled: bool§ao_radius: f32§ao_strength: f32§ao_bias: f32§ao_samples: u32§environment_probes: Vec<ShotProbe>§environment_fallback_rgb: [f32; 3]§clip_id: Option<u64>Omit for a static still; otherwise one output per time using this SKL1 clip.
times: Vec<f64>Implementations§
Trait Implementations§
Source§impl Clone for NativeShot
impl Clone for NativeShot
Source§impl Debug for NativeShot
impl Debug for NativeShot
Source§impl<'de> Deserialize<'de> for NativeShot
impl<'de> Deserialize<'de> for NativeShot
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 NativeShot
impl RefUnwindSafe for NativeShot
impl Send for NativeShot
impl Sync for NativeShot
impl Unpin for NativeShot
impl UnsafeUnpin for NativeShot
impl UnwindSafe for NativeShot
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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