Click or drag to resize
IMyGpsCollectionCreate Method

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

Creates a GPS entry object. Does not automatically add it, you need to use AddGps() or AddLocalGps().

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
IMyGps Create(
	string name,
	string description,
	Vector3D coords,
	bool showOnHud,
	bool temporary = false
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:VRage.Game.ModAPI.IMyGpsCollection.Create(System.String,System.String,VRageMath.Vector3D,System.Boolean,System.Boolean)"]

description
Type: SystemString

[Missing <param name="description"/> documentation for "M:VRage.Game.ModAPI.IMyGpsCollection.Create(System.String,System.String,VRageMath.Vector3D,System.Boolean,System.Boolean)"]

coords
Type: Vector3D

[Missing <param name="coords"/> documentation for "M:VRage.Game.ModAPI.IMyGpsCollection.Create(System.String,System.String,VRageMath.Vector3D,System.Boolean,System.Boolean)"]

showOnHud
Type: SystemBoolean

[Missing <param name="showOnHud"/> documentation for "M:VRage.Game.ModAPI.IMyGpsCollection.Create(System.String,System.String,VRageMath.Vector3D,System.Boolean,System.Boolean)"]

temporary (Optional)
Type: SystemBoolean
wether it automatically expires or not (DiscardAt field)

Return Value

Type: IMyGps

[Missing <returns> documentation for "M:VRage.Game.ModAPI.IMyGpsCollection.Create(System.String,System.String,VRageMath.Vector3D,System.Boolean,System.Boolean)"]

See Also