Struct octoon::geometries::cone::ConeGeometry
source · pub struct ConeGeometry { /* private fields */ }
Implementations
sourceimpl ConeGeometry
impl ConeGeometry
pub fn new(
radius: f32,
height: f32,
segments: u32,
theta_start: f32,
theta_length: f32
) -> Self
pub fn new_1(radius: f32, height: f32, segments: u32) -> Self
pub fn radius(&self) -> f32
pub fn height(&self) -> f32
pub fn segments(&self) -> u32
pub fn theta_start(&self) -> f32
pub fn theta_length(&self) -> f32
Trait Implementations
sourceimpl Debug for ConeGeometry
impl Debug for ConeGeometry
sourceimpl From<ConeGeometry> for Arc<RefCell<dyn Geometry + 'static>>
impl From<ConeGeometry> for Arc<RefCell<dyn Geometry + 'static>>
sourcefn from(shape: ConeGeometry) -> Self
fn from(shape: ConeGeometry) -> Self
Converts to this type from the input type.
sourceimpl From<ConeGeometry> for Arc<dyn Geometry + 'static>
impl From<ConeGeometry> for Arc<dyn Geometry + 'static>
sourcefn from(shape: ConeGeometry) -> Self
fn from(shape: ConeGeometry) -> Self
Converts to this type from the input type.
sourceimpl From<ConeGeometry> for Rc<RefCell<dyn Geometry + 'static>>
impl From<ConeGeometry> for Rc<RefCell<dyn Geometry + 'static>>
sourcefn from(shape: ConeGeometry) -> Self
fn from(shape: ConeGeometry) -> Self
Converts to this type from the input type.
sourceimpl From<ConeGeometry> for Rc<dyn Geometry + 'static>
impl From<ConeGeometry> for Rc<dyn Geometry + 'static>
sourcefn from(shape: ConeGeometry) -> Self
fn from(shape: ConeGeometry) -> Self
Converts to this type from the input type.
sourceimpl Geometry for ConeGeometry
impl Geometry for ConeGeometry
Auto Trait Implementations
impl RefUnwindSafe for ConeGeometry
impl Send for ConeGeometry
impl Sync for ConeGeometry
impl Unpin for ConeGeometry
impl UnwindSafe for ConeGeometry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.