AsQuaternion.cs 759 B

12345678910111213141516171819
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2010 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. using System;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Serialization
  7. * @{
  8. */
  9. /// <summary>
  10. /// When a quaternion is displayed in the inspector, by default it will be displayed as converted into euler angles.
  11. /// Use this attribute to force it to be displayed as a quaternion (4D value) with no conversion instead.
  12. /// </summary>
  13. [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
  14. public sealed class AsQuaternion : Attribute { }
  15. /** @} */
  16. }