Bitbybit Docs
    Preparing search index...

    Class RotateDto<T> (Inputs.OCCT)

    A shape, an axis through the origin and an angle for transforms.rotate.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    shape: T

    The shape to rotate; it stays as it is and a rotated copy comes back.

    undefined
    
    axis: Vector3

    The direction of the rotation axis, which passes through the origin.

    [0, 0, 1]
    
    angle: number

    The rotation in degrees, following the right-hand rule about the axis.

    0
    

    0

    360

    1