Bitbybit Docs
    Preparing search index...

    Class StretchDirCenterDto (Inputs.Transforms)

    A center, a direction and a factor for transforms.stretchDirFromCenter.

    Index

    Constructors

    Properties

    Constructors

    Properties

    center?: Point3

    The point that stays in place; distances are measured from it.

    [0, 0, 0]
    
    direction?: Vector3

    The direction to stretch along; its length does not matter. Distances across it do not change.

    [0, 0, 1]
    
    scale?: number

    The factor applied along the direction; 1 changes nothing, 2 doubles distances from the center along it.

    2
    

    -Infinity

    Infinity

    0.1