VRage.ModAPI
EntityFlags
Assembly: VRage.Game.dll
public enum EntityFlags
Entity flags.
Fields
| Member | Description |
|---|---|
| Default | |
| DrawOutsideViewDistance | Flags would be delivered to render component. DrawOutsideViewDistanceprohibited |
| FastCastShadowResolve | Flags would be delivered to render component. FastCastShadowResolveprohibited |
| InvalidateOnMove | If object is moved, invalidate its renderobjects (update render) |
| IsGamePrunningStructureObject | Can be added, removed, or updated in |
| IsNotGamePrunningStructureObject | Do not use in prunning, even though it is a root entity |
| Near | Specifies whether entity is "near", near entities are cockpit and weapons, these entities are rendered in special way |
| NeedsDraw | Draw method of this entity will be called when suitable. NeedsDraw |
| NeedsDrawFromParent | Draw method of this entity will be called when suitable and only from parent |
| NeedsResolveCastShadow | Flags would be delivered to render component. NeedsResolveCastShadowprohibited |
| NeedsSimulate | Entity has special simulation update. SIMULATE |
| NeedsUpdate | On this entity and its children will be called UpdateBeforeSimulation and UpdateAfterSimulation each frame |
| NeedsUpdate10 | Entity updated each 10th frame |
| NeedsUpdate100 | Entity updated each 100th frame |
| NeedsUpdateAfter | On this entity and its children will be called UpdateAfterSimulation each frame |
| NeedsUpdateBeforeNextFrame | Entity updated once before first frame. |
| NeedsWorldMatrix | If child, its world matrix must be always updated |
| None | No flags |
| Save | Specifies whether save entity when saving sector or not |
| ShadowBoxLod | Draw LOD shadow as box |
| SkipIfTooSmall | Flags would be delivered to render component. SkipIfTooSmallprohibited |
| Sync | Synchronize object during multiplayer |
| Transparent | Render the entity using dithering to simulate transparency |
| UpdateRender | Entity call UpdateRenderObject(bool, bool) on OnAddedToScene |
| Visible | Specifies whether draw this entity or not. |