Trait heron::rapier_plugin::rapier::ncollide::procedural::path::StrokePattern[][src]

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

A pattern that is replicated along a path.

It is responsible of the generation of the whole mesh.

Required methods

pub fn stroke<C>(&mut self, sampler: &mut C) -> TriMesh<N> where
    C: CurveSampler<N>, 
[src]

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...