2
0

CollisionData.generated.cs 574 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Physics
  7. * @{
  8. */
  9. /// <summary>Information about a collision between two physics objects.</summary>
  10. [StructLayout(LayoutKind.Sequential), SerializeObject]
  11. public partial struct CollisionData
  12. {
  13. /// <summary>Components of the colliders that have collided.</summary>
  14. public Collider[] collider;
  15. /// <summary>Information about all the contact points for the hit.</summary>
  16. public ContactPoint[] contactPoints;
  17. }
  18. /** @} */
  19. }