Click or drag to resize
MyAPIGatewayShortcuts Class

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

Links to modapi actions. Delegates are set inside MyAPIGateway. VRAGE TODO: This is probably a temporary class helping us to remove sandbox.
Inheritance Hierarchy
SystemObject
  VRage.ModAPIMyAPIGatewayShortcuts

Namespace: VRage.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
public static class MyAPIGatewayShortcuts

The MyAPIGatewayShortcuts type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberGetLocalPlayerPosition
Public fieldStatic memberGetMainCamera
Public fieldStatic memberGetWorldBoundaries
Public fieldStatic memberRegisterEntityUpdate
Registers entity in update loop. Parameters: IMyEntity entity (ref to entity to be registered)
Public fieldStatic memberUnregisterEntityUpdate
Unregisters entity from update loop. Parameters: IMyEntity entity (ref to entity to be unregistered), bool immediate (default is false)
Top
See Also