Bitbybit Docs
    Preparing search index...

    Class Scale3DDto<T> (Inputs.OCCT)

    A shape, three factors and a center for transforms.scale3d, which scales each axis on its own about the center.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    shape: T

    The shape to scale.

    undefined
    
    scale: Vector3

    The factors along X, Y and Z; unequal factors stretch the shape.

    [1, 1, 1]
    
    center: Point3

    The point that stays in place while everything else scales away from or toward it.

    [0, 0, 0]