pub struct WText3D { /* fields omitted */ }
Expand description
This 3D Widget represents 3D text. The text always faces the camera.
Constructs a WText3D.
- text: Text content of the widget.
- position: Position of the text.
- text_scale: Size of the text.
- face_camera: If true, text always faces the camera.
- color: Color of the text.
- text_scale: 1.
- face_camera: true
- color: Color::white()
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
Sets the text content of the widget. Read more
Returns the current text content of the widget.
Updates pose of the widget by pre-multiplying its current pose. Read more
Transforms internal widget data (i.e. points, normals) using the given transform. Read more
Returns the current pose of the widget.
Sets rendering property of the widget. Read more
Returns rendering property of the widget. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.