Bitbybit Docs
    Preparing search index...

    Class ScaleDto<T> (Inputs.OCCT)

    A shape and a factor for transforms.scale, which scales uniformly about the origin.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    shape: T

    The shape to scale; it stays as it is and a scaled copy comes back.

    undefined
    
    factor?: number

    The uniform scale factor; 2 doubles every size, 0.5 halves it, and a negative factor also mirrors the shape through the origin. It must not be 0.

    1
    

    -Infinity

    Infinity

    0.1