Click or drag to resize
IMyPrefabManagerSpawnPrefab Method (ListIMyCubeGrid, String, Vector3D, Vector3, Vector3, Vector3, Vector3, String, SpawningOptions, Boolean)

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

[Missing <summary> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
void SpawnPrefab(
	List<IMyCubeGrid> resultList,
	string prefabName,
	Vector3D position,
	Vector3 forward,
	Vector3 up,
	Vector3 initialLinearVelocity = null,
	Vector3 initialAngularVelocity = null,
	string beaconName = null,
	SpawningOptions spawningOptions = SpawningOptions.None,
	bool updateSync = false
)

Parameters

resultList
Type: System.Collections.GenericListIMyCubeGrid

[Missing <param name="resultList"/> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

prefabName
Type: SystemString

[Missing <param name="prefabName"/> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

position
Type: Vector3D

[Missing <param name="position"/> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

forward
Type: VRageMathVector3

[Missing <param name="forward"/> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

up
Type: VRageMathVector3

[Missing <param name="up"/> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

initialLinearVelocity (Optional)
Type: VRageMathVector3

[Missing <param name="initialLinearVelocity"/> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

initialAngularVelocity (Optional)
Type: VRageMathVector3

[Missing <param name="initialAngularVelocity"/> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

beaconName (Optional)
Type: SystemString

[Missing <param name="beaconName"/> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

spawningOptions (Optional)
Type: VRage.Game.ModAPISpawningOptions

[Missing <param name="spawningOptions"/> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

updateSync (Optional)
Type: SystemBoolean

[Missing <param name="updateSync"/> documentation for "M:VRage.Game.ModAPI.IMyPrefabManager.SpawnPrefab(System.Collections.Generic.List{VRage.Game.ModAPI.IMyCubeGrid},System.String,VRageMath.Vector3D,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,VRageMath.Vector3,System.String,VRage.Game.ModAPI.SpawningOptions,System.Boolean)"]

See Also