ObjectMobility.generated.cs 909 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /// <summary>
  7. /// Controls what kind of mobility restrictions a scene object has. This is used primarily as a performance hint to other
  8. /// systems. Generally the more restricted the mobility the higher performance can be achieved.
  9. /// </summary>
  10. public enum ObjectMobility
  11. {
  12. /// <summary>Scene object can be moved and has no mobility restrictions.</summary>
  13. Movable = 0,
  14. /// <summary>
  15. /// Scene object isn't allowed to be moved but is allowed to be visually changed in other ways (e.g. changing the
  16. /// displayed mesh or light intensity (depends on attached components).
  17. /// </summary>
  18. Immovable = 1,
  19. /// <summary>
  20. /// Scene object isn't allowed to be moved nor is it allowed to be visually changed. Object must be fully static.
  21. /// </summary>
  22. Static = 2
  23. }
  24. }