Bitbybit Docs
    Preparing search index...

    Class ManifoldSetPropertiesDto<T> (Inputs.Manifold)

    A solid, a property count and a fill function for manifold.operations.setProperties.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalmanifold: T
      • OptionalnumProp: number
      • OptionalpropFunc: (newProp: number[], position: Vector3, oldProp: number[]) => void

      Returns ManifoldSetPropertiesDto<T>

    Properties

    manifold: T

    The solid whose vertex properties are rewritten.

    numProp: number

    How many properties each vertex has afterwards.

    3
    

    3

    Infinity

    1

    propFunc: (newProp: number[], position: Vector3, oldProp: number[]) => void

    A function that receives the new property array, the vertex position and the old properties, and fills the new array in place.

    undefined