Type Alias ambient_api::prelude::F32Input
source · pub type F32Input = ParseableInput<f32>;
Expand description
A ParseableInput for f32.
Aliased Type§
struct F32Input {
pub value: f32,
pub on_change: Arc<CbDebuggable<dyn Fn(f32) + Sync + Send>>,
}
Fields§
§value: f32
The current value.
on_change: Arc<CbDebuggable<dyn Fn(f32) + Sync + Send>>
Callback for when the value changes.