Click or drag to resize
EntityFlags Enumeration

[This is preliminary documentation and is subject to change.]

Entity flags.

Namespace: VRage.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
public enum EntityFlags
Members
  Member nameValueDescription
None1 No flags
Visible2 Specifies whether draw this entity or not.
Save8 Specifies whether save entity when saving sector or not
Near16 Specifies whether entity is "near", near entities are cockpit and weapons, these entities are rendered in special way
NeedsUpdate32 On this entity and its children will be called UpdateBeforeSimulation and UpdateAfterSimulation each frame
NeedsResolveCastShadow64
FastCastShadowResolve128
SkipIfTooSmall256
NeedsUpdate10512
NeedsUpdate1001024
NeedsDraw2048 Draw method of this entity will be called when suitable
InvalidateOnMove4096 If object is moved, invalidate its renderobjects (update render)
Sync8192 Synchronize object during multiplayer
NeedsDrawFromParent16384 Draw method of this entity will be called when suitable and only from parent
ShadowBoxLod32768 Draw LOD shadow as box
Transparent65536 Render the entity using dithering to simulate transparency
NeedsUpdateBeforeNextFrame131072 Entity updated once before first frame.
DrawOutsideViewDistance262144
Default4426
See Also