three_dart_jsm/three_dart_jsm/modifiers/index library

Classes

Flow
A helper class for making meshes bend aroudn curves
InstancedFlow
A helper class for creating instanced versions of flow, where the instances are placed on the curve.
SimplifyModifier
SMUtil
TessellateModifier
Break faces with edges longer than maxEdgeLength
Tri
Vertex

Properties

CHANNELS int
getter/setter pair
matrix Matrix4
getter/setter pair
TEXTURE_HEIGHT int
getter/setter pair
TEXTURE_WIDTH int
getter/setter pair

Functions

getUniforms(dynamic splineTexture) → dynamic
Create a new set of uniforms for describing the curve modifier
initSplineTexture({int numberOfCurves = 1}) → dynamic
Make a new DataTexture to store the descriptions of the curves.
modifyShader(dynamic material, dynamic uniforms, {dynamic numberOfCurves = 1}) → dynamic
setTextureValue(dynamic texture, dynamic index, dynamic x, dynamic y, dynamic z, dynamic o) → dynamic
updateSplineTexture(dynamic texture, dynamic splineCurve, {dynamic offset = 0}) → dynamic
Write the curve description to the data texture