height

Rectangle height (max.y - min.y).

Examples

# use bevy_math::Rect;
let r = Rect::new(0., 0., 5., 1.); // w=5 h=1
assert!((r.height() - 1.).abs() <= 1e-5);

Arguments

  • _self : Rect - No Documentation 🚧

Returns

  • arg0 : f32 - No Documentation 🚧