Show / Hide Table of Contents

Class EntityFlags

Entity flags.

Inheritance
System.Object
EntityFlags
Namespace: VRage.ModAPI
Assembly: VRage.Game.dll
Syntax
public sealed class EntityFlags : Enum

Fields

Default

Declaration
public const EntityFlags Default
Field Value
Type Description
EntityFlags

DrawOutsideViewDistance

Flags would be delivered to render component. VRageRender.RenderFlags.DrawOutsideViewDistance

Declaration
public const EntityFlags DrawOutsideViewDistance
Field Value
Type Description
EntityFlags

FastCastShadowResolve

Flags would be delivered to render component. VRageRender.RenderFlags.FastCastShadowResolve

Declaration
public const EntityFlags FastCastShadowResolve
Field Value
Type Description
EntityFlags

InvalidateOnMove

If object is moved, invalidate its renderobjects (update render)

Declaration
public const EntityFlags InvalidateOnMove
Field Value
Type Description
EntityFlags

IsGamePrunningStructureObject

Can be added, removed, or updated in Sandbox.Game.Entities.MyGamePruningStructure

Declaration
public const EntityFlags IsGamePrunningStructureObject
Field Value
Type Description
EntityFlags

IsNotGamePrunningStructureObject

Do not use in prunning, even though it is a root entity

Declaration
public const EntityFlags IsNotGamePrunningStructureObject
Field Value
Type Description
EntityFlags

Near

Specifies whether entity is "near", near entities are cockpit and weapons, these entities are rendered in special way

Declaration
public const EntityFlags Near
Field Value
Type Description
EntityFlags

NeedsDraw

Draw method of this entity will be called when suitable. NeedsDraw

Declaration
public const EntityFlags NeedsDraw
Field Value
Type Description
EntityFlags

NeedsDrawFromParent

Draw method of this entity will be called when suitable and only from parent

Declaration
public const EntityFlags NeedsDrawFromParent
Field Value
Type Description
EntityFlags

NeedsResolveCastShadow

Flags would be delivered to render component. VRageRender.RenderFlags.NeedsResolveCastShadow

Declaration
public const EntityFlags NeedsResolveCastShadow
Field Value
Type Description
EntityFlags

NeedsSimulate

Entity has special simulation update. SIMULATE

Declaration
public const EntityFlags NeedsSimulate
Field Value
Type Description
EntityFlags

NeedsUpdate

On this entity and its children will be called UpdateBeforeSimulation and UpdateAfterSimulation each frame

Declaration
public const EntityFlags NeedsUpdate
Field Value
Type Description
EntityFlags

NeedsUpdate10

Entity updated each 10th frame

Declaration
public const EntityFlags NeedsUpdate10
Field Value
Type Description
EntityFlags

NeedsUpdate100

Entity updated each 100th frame

Declaration
public const EntityFlags NeedsUpdate100
Field Value
Type Description
EntityFlags

NeedsUpdateAfter

On this entity and its children will be called UpdateAfterSimulation each frame

Declaration
public const EntityFlags NeedsUpdateAfter
Field Value
Type Description
EntityFlags

NeedsUpdateBeforeNextFrame

Entity updated once before first frame.

Declaration
public const EntityFlags NeedsUpdateBeforeNextFrame
Field Value
Type Description
EntityFlags

NeedsWorldMatrix

If child, its world matrix must be always updated

Declaration
public const EntityFlags NeedsWorldMatrix
Field Value
Type Description
EntityFlags

None

No flags

Declaration
public const EntityFlags None
Field Value
Type Description
EntityFlags

Save

Specifies whether save entity when saving sector or not

Declaration
public const EntityFlags Save
Field Value
Type Description
EntityFlags

ShadowBoxLod

Draw LOD shadow as box

Declaration
public const EntityFlags ShadowBoxLod
Field Value
Type Description
EntityFlags

SkipIfTooSmall

Flags would be delivered to render component. VRageRender.RenderFlags.SkipIfTooSmall

Declaration
public const EntityFlags SkipIfTooSmall
Field Value
Type Description
EntityFlags

Sync

Synchronize object during multiplayer

Declaration
public const EntityFlags Sync
Field Value
Type Description
EntityFlags

Transparent

Render the entity using dithering to simulate transparency

Declaration
public const EntityFlags Transparent
Field Value
Type Description
EntityFlags

UpdateRender

Entity call UpdateRenderObject(Boolean, Boolean) on OnAddedToScene

Declaration
public const EntityFlags UpdateRender
Field Value
Type Description
EntityFlags

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Visible

Specifies whether draw this entity or not.

Declaration
public const EntityFlags Visible
Field Value
Type Description
EntityFlags
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾