bevy_reflect

Function array_apply

Source
pub fn array_apply<A: Array + ?Sized>(
    array: &mut A,
    reflect: &dyn PartialReflect,
)
Expand description

Applies the reflected array data to the given array.

ยงPanics

  • Panics if the two arrays have differing lengths.
  • Panics if the reflected value is not a valid array.