Bitbybit Docs
    Preparing search index...

    Class RotateByQuaternionDto<T> (Inputs.OCCT)

    Bentuk dan kuaternion untuk transforms.rotateByQuaternion, yang merotasi bentuk terhadap titik asal.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalquaternion: [number, number, number, number]

      Returns RotateByQuaternionDto<T>

    Properties

    shape: T

    Bentuk yang akan dirotasi; bentuk ini tetap apa adanya dan salinan yang telah dirotasi dikembalikan.

    undefined
    
    quaternion: [number, number, number, number]

    Rotasi sebagai [x, y, z, w]; dinormalisasi sebelum dipakai, dan [0, 0, 0, 1] berarti tanpa rotasi.

    [0, 0, 0, 1]