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

This 3D Widget defines a grid. :

Implementations

Constructs a WGrid.

Parameters
  • cells: Number of cell columns and rows, respectively.
  • cells_spacing: Size of each cell, respectively.
  • color: Color of the grid.
C++ default parameters
  • cells: Vec2i::all(10)
  • cells_spacing: Vec2d::all(1.0)
  • color: Color::white()

Creates repositioned grid

C++ default parameters
  • cells: Vec2i::all(10)
  • cells_spacing: Vec2d::all(1.0)
  • 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 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.