Bitbybit Docs
    Preparing search index...

    Class CalculateNormalsDto<T> (Inputs.Manifold)

    A solid, a channel and a sharp angle for manifold.operations.calculateNormals.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalmanifold: T
      • OptionalnormalIdx: number
      • OptionalminSharpAngle: number

      Returns CalculateNormalsDto<T>

    Properties

    manifold: T

    The solid to compute normals for.

    normalIdx: number

    The property channel that receives the X of each normal; Y and Z follow in the next two, and channels are added as needed.

    0
    

    0

    Infinity

    1

    minSharpAngle: number

    Edges bent more than this, in degrees, get separate normals on each side and stay crisp; at 0 every triangle keeps its own normal.

    0
    

    0

    Infinity

    1