|
MyObjectBuilder_CubeGrid[] | GetGridPrefab (string prefabName) |
|
void | AddShipPrefab (string prefabName, Matrix?worldMatrix=null, long factionId=0, bool spawnAtOrigin=false) |
|
void | AddShipPrefabRandomPosition (string prefabName, Vector3D position, float distance, long factionId=0, bool spawnAtOrigin=false) |
|
void | SpawnPrefab (String prefabName, Vector3 position, Vector3 forward, Vector3 up, Vector3 initialLinearVelocity=default(Vector3), Vector3 initialAngularVelocity=default(Vector3), String beaconName=null, SpawningOptions spawningOptions=SpawningOptions.None, long ownerId=0, bool updateSync=false, Stack< Action > callbacks=null) |
|
void | SpawnPrefab (List< MyCubeGrid > resultList, String prefabName, Vector3D position, Vector3 forward, Vector3 up, Vector3 initialLinearVelocity=default(Vector3), Vector3 initialAngularVelocity=default(Vector3), String beaconName=null, SpawningOptions spawningOptions=SpawningOptions.None, long ownerId=0, bool updateSync=false, Stack< Action > callbacks=null) |
|
Definition at line 35 of file MyPrefabManager.cs.
void Sandbox.Game.World.MyPrefabManager.AddShipPrefab |
( |
string |
prefabName, |
|
|
Matrix? |
worldMatrix = null , |
|
|
long |
factionId = 0 , |
|
|
bool |
spawnAtOrigin = false |
|
) |
| |
|
inline |
void Sandbox.Game.World.MyPrefabManager.AddShipPrefabRandomPosition |
( |
string |
prefabName, |
|
|
Vector3D |
position, |
|
|
float |
distance, |
|
|
long |
factionId = 0 , |
|
|
bool |
spawnAtOrigin = false |
|
) |
| |
|
inline |
static void Sandbox.Game.World.MyPrefabManager.SavePrefab |
( |
string |
prefabName, |
|
|
List< MyObjectBuilder_CubeGrid > |
copiedPrefab |
|
) |
| |
|
inlinestatic |
static void Sandbox.Game.World.MyPrefabManager.SavePrefabToPath |
( |
string |
prefabName, |
|
|
string |
path, |
|
|
List< MyObjectBuilder_CubeGrid > |
copiedPrefab |
|
) |
| |
|
inlinestatic |
void Sandbox.Game.World.MyPrefabManager.SpawnPrefab |
( |
String |
prefabName, |
|
|
Vector3 |
position, |
|
|
Vector3 |
forward, |
|
|
Vector3 |
up, |
|
|
Vector3 |
initialLinearVelocity = default(Vector3) , |
|
|
Vector3 |
initialAngularVelocity = default(Vector3) , |
|
|
String |
beaconName = null , |
|
|
SpawningOptions |
spawningOptions = SpawningOptions.None , |
|
|
long |
ownerId = 0 , |
|
|
bool |
updateSync = false , |
|
|
Stack< Action > |
callbacks = null |
|
) |
| |
|
inline |
void Sandbox.Game.World.MyPrefabManager.SpawnPrefab |
( |
List< MyCubeGrid > |
resultList, |
|
|
String |
prefabName, |
|
|
Vector3D |
position, |
|
|
Vector3 |
forward, |
|
|
Vector3 |
up, |
|
|
Vector3 |
initialLinearVelocity = default(Vector3) , |
|
|
Vector3 |
initialAngularVelocity = default(Vector3) , |
|
|
String |
beaconName = null , |
|
|
SpawningOptions |
spawningOptions = SpawningOptions.None , |
|
|
long |
ownerId = 0 , |
|
|
bool |
updateSync = false , |
|
|
Stack< Action > |
callbacks = null |
|
) |
| |
|
inline |
EventWaitHandle Sandbox.Game.World.MyPrefabManager.FinishedProcessingGrids = new AutoResetEvent(false) |
|
static |
int Sandbox.Game.World.MyPrefabManager.PendingGrids |
|
static |
The documentation for this class was generated from the following file: