Bitbybit Docs
    Preparing search index...

    Class VoronoiFieldDto<T> (Inputs.OCCT)

    Points and affectors for patterns.voronoi.field, which gives the affectors' combined influence at each point, mapped onto a range.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    points: Bit.Inputs.Base.Point3[]

    The points to read the field at, such as the seeds of the cells it should grade.

    undefined
    
    affectors?: VoronoiAffector<T>[]

    The affectors, each made by patterns.voronoi.affector. Left empty, the field is from at every point.

    []
    

    How the influences of several affectors combine at a point.

    max
    
    from?: number

    The value a point out of every affector's reach gets, an influence of 0.

    0
    

    -Infinity

    Infinity

    0.1

    to?: number

    The value a point at full influence gets, an influence of 1; the values between follow linearly.

    1
    

    -Infinity

    Infinity

    0.1