using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /// /// Controls what kind of mobility restrictions a scene object has. This is used primarily as a performance hint to other /// systems. Generally the more restricted the mobility the higher performance can be achieved. /// public enum ObjectMobility { /// Scene object can be moved and has no mobility restrictions. Movable = 0, /// /// Scene object isn't allowed to be moved but is allowed to be visually changed in other ways (e.g. changing the /// displayed mesh or light intensity (depends on attached components). /// Immovable = 1, /// /// Scene object isn't allowed to be moved nor is it allowed to be visually changed. Object must be fully static. /// Static = 2 } }