Bitbybit Docs
    Preparing search index...

    Class RotateAroundCenterDto<T> (Inputs.OCCT)

    用于 transforms.rotateAroundCenter 的形状、角度、中心和轴,它绕经过中心的轴旋转。

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    shape: T

    要旋转的形状;它保持原样,并返回一个旋转后的副本。

    undefined
    
    angle: number

    旋转角度,以度为单位,绕轴遵循右手定则。

    0
    
    center: Point3

    旋转轴经过的点。

    [0, 0, 0]
    
    axis: Vector3

    旋转轴的方向。

    [0, 0, 1]