This version of the ShapeDiver viewer is no longer supported.

Please refer to the version 3 documentation here. See also the migration guide from version 2 to version 3 here.

Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IEventData

Index

Properties

Optional anchorId

anchorId: string

ID of the anchor.

Optional anchorPositions

anchorPositions: { id: string; position: THREE.Vector3 }[]

Positions of all the anchors after the rotation.

Optional distance

distance: number

Distance between actual position and anchor (after rotation).

dragEvent

dragEvent: any

The event data of the drag event.

Optional nonRotatedPosition

nonRotatedPosition: THREE.Vector3

Position if no rotation is applied.

Optional position

position: THREE.Vector3

Current position of the anchor (after rotation).

Optional rotationMatrix

rotationMatrix: THREE.Matrix4

The currently applied rotation matrix.

snap

snap: boolean

If the object was snapped to a snap element.