SkinnedSphere.cs 815 B

1234567891011121314151617181920212223242526272829
  1. #region File Description
  2. //-----------------------------------------------------------------------------
  3. // SkinnedSphere.cs
  4. //
  5. // Microsoft XNA Community Game Platform
  6. // Copyright (C) Microsoft Corporation. All rights reserved.
  7. //-----------------------------------------------------------------------------
  8. #endregion
  9. #region Using Statements
  10. using Microsoft.Xna.Framework;
  11. using Microsoft.Xna.Framework.Content;
  12. #endregion
  13. namespace SkinnedModel
  14. {
  15. /// <summary>
  16. /// Stores a bounding sphere for checking collision against a skinned
  17. /// model, and records which bone this sphere is attached to.
  18. /// </summary>
  19. public class SkinnedSphere
  20. {
  21. public string BoneName;
  22. public float Radius;
  23. [ContentSerializer(Optional = true)]
  24. public float Offset;
  25. }
  26. }