EntityFlags Enumeration |
[This is preliminary documentation and is subject to change.]
Namespace: VRage.ModAPI
public enum EntityFlags
Member name | Value | Description | |
---|---|---|---|
None | 1 | No flags | |
Visible | 2 | Specifies whether draw this entity or not. | |
Save | 8 | Specifies whether save entity when saving sector or not | |
Near | 16 | Specifies whether entity is "near", near entities are cockpit and weapons, these entities are rendered in special way | |
NeedsUpdate | 32 | On this entity and its children will be called UpdateBeforeSimulation and UpdateAfterSimulation each frame | |
NeedsResolveCastShadow | 64 | ||
FastCastShadowResolve | 128 | ||
SkipIfTooSmall | 256 | ||
NeedsUpdate10 | 512 | ||
NeedsUpdate100 | 1024 | ||
NeedsDraw | 2048 | Draw method of this entity will be called when suitable | |
InvalidateOnMove | 4096 | If object is moved, invalidate its renderobjects (update render) | |
Sync | 8192 | Synchronize object during multiplayer | |
NeedsDrawFromParent | 16384 | Draw method of this entity will be called when suitable and only from parent | |
ShadowBoxLod | 32768 | Draw LOD shadow as box | |
Transparent | 65536 | Render the entity using dithering to simulate transparency | |
NeedsUpdateBeforeNextFrame | 131072 | Entity updated once before first frame. | |
DrawOutsideViewDistance | 262144 | ||
Default | 4426 |