pub struct WText3D { /* private fields */ }
Expand description

This 3D Widget represents 3D text. The text always faces the camera.

Implementations

Constructs a WText3D.

Parameters
  • 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.
C++ default parameters
  • text_scale: 1.
  • face_camera: true
  • color: Color::white()

Trait Implementations

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Sets the text content of the widget. Read more
Returns the current text content of the widget.
Sets pose of the widget. Read more
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
Sets the color of the widget. 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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.