Type alias NewPositionEventData

NewPositionEventData: {
    newPosition: THREE.Vector3;
    object: THREE.Object3D;
    oldPosition: THREE.Vector3;
}

Data for the new-position event.

Type declaration

  • newPosition: THREE.Vector3

    A new vector object that holds the new position. N.B: Old and new position can be the same!

  • object: THREE.Object3D

    Reference to the object that was moved.

  • oldPosition: THREE.Vector3

    A new vector object that holds the old position.

Generated using TypeDoc