[][src]Trait ncollide3d::procedural::path::StrokePattern

pub trait StrokePattern<N: RealField> {
    fn stroke<C: CurveSampler<N>>(&mut self, sampler: &mut C) -> TriMesh<N>;
}

A pattern that is replicated along a path.

It is responsible of the generation of the whole mesh.

Required methods

fn stroke<C: CurveSampler<N>>(&mut self, sampler: &mut C) -> TriMesh<N>

Generates the mesh using this pattern and the curve sampled by sampler.

Loading content...

Implementors

impl<N, C1, C2> StrokePattern<N> for PolylinePattern<N, C1, C2> where
    N: RealField,
    C1: PolylineCompatibleCap<N>,
    C2: PolylineCompatibleCap<N>, 
[src]

Loading content...