Skip to main content

Vec3Field

Function Vec3Field 

Source
pub fn Vec3Field(props: Vec3FieldProps) -> impl IntoView
Expand description

Three numeric inputs labelled X, Y, and Z for editing a [f64; 3] vector. Each axis clamps to min/max and evaluates arithmetic expressions on commit. Emits the full updated array with a committed flag through on_change.

§Required Props

  • label: impl Into<String>
  • value: [Signal<[f64; 3]>]
  • on_change: [Callback<([f64; 3], bool)>]

§Optional Props