/// Constructor for [TextDraw] without any layout bounds (single line).
Constructor for [TextDraw] without any layout bounds (single line).
Constructor for [ TextDraw ] without any layout bounds ( single line ) .
pub fn unbounded(
        origin: glam::Vec2,
        depth: f32,
        text: &'a str,
        scale: f32,
        color: Color,
    ) -> Self {
        TextDraw {
            origin,
            depth,
            bounds: None,
            text,
            scale,
            color,
        }
    }
pub fn unbounded ( origin : glam :: Vec2 , depth : f32 , text : & ' a str , scale : f32 , color : Color , ) -> Self { TextDraw { origin , depth , bounds : None , text , scale , color , } }
Constructor for [TextDraw] without any layout bounds (single line).
Constructor for [ TextDraw ] without any layout bounds ( single line ) .
origin
glam::Vec2
depth
f32
text
&'a str
scale
f32
color
Color