Struct CylinderOptions
pub struct CylinderOptions {
pub transform: Transform,
pub radius_top: f64,
pub radius_bottom: f64,
pub height: f64,
pub radial_segments: i64,
pub height_segments: i64,
pub open_ended: bool,
pub theta_start: f64,
pub theta_length: f64,
pub material: Option<String>,
pub identifier: Option<String>,
}Expand description
Options for adding a cylinder object.
Fields§
§transform: TransformThe common transform parameters.
radius_top: f64The top radius of the cylinder.
radius_bottom: f64The bottom radius of the cylinder.
height: f64The height of the cylinder.
radial_segments: i64The number of radial segments.
height_segments: i64The number of height segments.
open_ended: boolWhether the cylinder is open ended.
theta_start: f64The theta start value.
theta_length: f64The theta length value.
material: Option<String>The identifier of the material to apply.
identifier: Option<String>The explicit identifier; assigned by the server when None.
Trait Implementations§
§impl Clone for CylinderOptions
impl Clone for CylinderOptions
§fn clone(&self) -> CylinderOptions
fn clone(&self) -> CylinderOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CylinderOptions
impl Debug for CylinderOptions
Auto Trait Implementations§
impl Freeze for CylinderOptions
impl RefUnwindSafe for CylinderOptions
impl Send for CylinderOptions
impl Sync for CylinderOptions
impl Unpin for CylinderOptions
impl UnwindSafe for CylinderOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more