Flow class

A helper class for making meshes bend aroudn curves

Implementers

Constructors

Flow(dynamic mesh, {dynamic numberOfCurves = 1})
  • @param {Mesh} mesh The mesh to clone and modify to bend around the curve
    • @param {number} numberOfCurves The amount of space that should preallocated for additional curves
  • Properties

    curveArray List
    getter/setter pair
    curveLengthArray List
    getter/setter pair
    hashCode int
    The hash code for this object.
    no setterinherited
    object3D ↔ Mesh
    getter/setter pair
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    splineTexure ↔ DataTexture
    getter/setter pair
    uniforms Map<String, dynamic>
    getter/setter pair

    Methods

    moveAlongCurve(dynamic amount) → dynamic
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    toString() String
    A string representation of this object.
    inherited
    updateCurve(dynamic index, dynamic curve) → dynamic

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited