Skip to content

editorGlobalsFixedRotationConstraint

Class: FixedRotationConstraint

Provides normal to align object rotations

Hierarchy

RotationConstraint

FixedRotationConstraint

Index

Constructors

Properties

Methods

Constructors

constructor

+ new FixedRotationConstraint(...rotations: readonly Quaternion[]): FixedRotationConstraint

Defined in src/model/data/aligning/Alignments/Constraints/FixedRotationConstraint.ts:9

Parameters:

Name Type Description
...rotations readonly Quaternion[] the base rotation the object should have followed by delta rotations that are applied after the base rotation to form the resulting rotation.

Returns: FixedRotationConstraint

Properties

Private Readonly fixedRotation

fixedRotation: Quaternion

Defined in src/model/data/aligning/Alignments/Constraints/FixedRotationConstraint.ts:9

Methods

getRotation

getRotation(): Quaternion

Defined in src/model/data/aligning/Alignments/Constraints/FixedRotationConstraint.ts:24

Returns: Quaternion