pointerPickingConfiguration.js 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * Class used to store configuration data associated with pointer picking
  3. */
  4. export class PointerPickingConfiguration {
  5. constructor() {
  6. /**
  7. * Gets or sets a predicate used to select candidate meshes for a pointer down event
  8. */
  9. this.pointerDownFastCheck = false;
  10. /**
  11. * Gets or sets a predicate used to select candidate meshes for a pointer up event
  12. */
  13. this.pointerUpFastCheck = false;
  14. /**
  15. * Gets or sets a predicate used to select candidate meshes for a pointer move event
  16. */
  17. this.pointerMoveFastCheck = false;
  18. /**
  19. * Gets or sets a boolean indicating if the user want to entirely skip the picking phase when a pointer move event occurs.
  20. */
  21. this.skipPointerMovePicking = false;
  22. /**
  23. * Gets or sets a boolean indicating if the user want to entirely skip the picking phase when a pointer down event occurs.
  24. */
  25. this.skipPointerDownPicking = false;
  26. /**
  27. * Gets or sets a boolean indicating if the user want to entirely skip the picking phase when a pointer up event occurs. Off by default.
  28. */
  29. this.skipPointerUpPicking = false;
  30. }
  31. }
  32. //# sourceMappingURL=pointerPickingConfiguration.js.map