pub struct WCylinder { /* fields omitted */ }
Expand description
This 3D Widget defines a cylinder. :
Constructs a WCylinder.
- axis_point1: A point1 on the axis of the cylinder.
- axis_point2: A point2 on the axis of the cylinder.
- radius: Radius of the cylinder.
- numsides: Resolution of the cylinder.
- color: Color of the cylinder.
- numsides: 30
- 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
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.