Skip to content

Documentation / loaders / tessellateStrandRibbons

Function: tessellateStrandRibbons() ​

tessellateStrandRibbons(curve, opt): AssetPrimitiveInfo

Defined in: libs/loaders/src/curves/strandribbon.ts:121

Builds a triangle-ribbon primitive for one strand set.

Parameters ​

curve ​

StrandCurveSet

Decoded strands to tessellate.

opt ​

ResolvedStrandRibbonOptions

Resolved tessellation options.

Returns ​

AssetPrimitiveInfo

The primitive, or null when no strand survived filtering.

Released under the MIT License.