height

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

Examples

# use bevy_math::URect;
let r = URect::new(0, 0, 5, 1); // w=5 h=1
assert_eq!(r.height(), 1);

Arguments

  • _self : URect - No Documentation 🚧

Returns

  • arg0 : u32 - No Documentation 🚧