Struct ncollide3d::procedural::path::ArrowheadCap [−][src]
pub struct ArrowheadCap<N> { /* fields omitted */ }
A cap that looks like an arrow.
Implementations
impl<N: RealField> ArrowheadCap<N>
[src]
impl<N: RealField> ArrowheadCap<N>
[src]pub fn new(
radius_scale: N,
front_dist_to_head: N,
back_dist_to_head: N
) -> ArrowheadCap<N>
[src]
radius_scale: N,
front_dist_to_head: N,
back_dist_to_head: N
) -> ArrowheadCap<N>
Creates a cap that looks like an arrow.
Arguments:
radius_scale
- scale factor of the cap base.front_dist_to_head
- distance from the path endpoint and the arrow tip.back_dist_to_head
- distance from the path endpoint and the cap base.
Trait Implementations
impl<N: RealField> PolylineCompatibleCap<N> for ArrowheadCap<N>
[src]
impl<N: RealField> PolylineCompatibleCap<N> for ArrowheadCap<N>
[src]fn gen_end_cap(
&self,
attach_id: u32,
pattern: &[Point3<N>],
pt: &Point3<N>,
dir: &Vector3<N>,
closed: bool,
coords: &mut Vec<Point3<N>>,
indices: &mut Vec<Point3<u32>>
)
[src]
&self,
attach_id: u32,
pattern: &[Point3<N>],
pt: &Point3<N>,
dir: &Vector3<N>,
closed: bool,
coords: &mut Vec<Point3<N>>,
indices: &mut Vec<Point3<u32>>
)
fn gen_start_cap(
&self,
attach_id: u32,
pattern: &[Point3<N>],
pt: &Point3<N>,
dir: &Vector3<N>,
closed: bool,
coords: &mut Vec<Point3<N>>,
indices: &mut Vec<Point3<u32>>
)
[src]
&self,
attach_id: u32,
pattern: &[Point3<N>],
pt: &Point3<N>,
dir: &Vector3<N>,
closed: bool,
coords: &mut Vec<Point3<N>>,
indices: &mut Vec<Point3<u32>>
)
Auto Trait Implementations
impl<N> RefUnwindSafe for ArrowheadCap<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for ArrowheadCap<N> where
N: Send,
N: Send,
impl<N> Sync for ArrowheadCap<N> where
N: Sync,
N: Sync,
impl<N> Unpin for ArrowheadCap<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for ArrowheadCap<N> where
N: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]