Class MyGridPhysicalGroupData
Inheritance
System.Object
MyGridPhysicalGroupData
Assembly: Sandbox.Game.dll
Syntax
public class MyGridPhysicalGroupData : MyGridGroupData<MyGridPhysicalGroupData>, IGroupData<MyCubeGrid>, IMyGridGroupData
Constructors
MyGridPhysicalGroupData()
Declaration
public MyGridPhysicalGroupData()
Methods
GetGroupSharedProperties(MyCubeGrid, Boolean)
Declaration
public static MyGridPhysicalGroupData.GroupSharedPxProperties GetGroupSharedProperties(MyCubeGrid localGrid, bool checkMultithreading = true)
Parameters
Type |
Name |
Description |
MyCubeGrid |
localGrid |
|
System.Boolean |
checkMultithreading |
|
Returns
InvalidateSharedMassPropertiesCache(MyCubeGrid)
Declaration
public static void InvalidateSharedMassPropertiesCache(MyCubeGrid groupRepresentative)
Parameters
Type |
Name |
Description |
MyCubeGrid |
groupRepresentative |
|
OnNodeAdded<TGroupData>(MyCubeGrid, TGroupData)
Declaration
public override void OnNodeAdded<TGroupData>(MyCubeGrid entity, TGroupData prevGroup)
where TGroupData : IGroupData<MyCubeGrid>, new()
Parameters
Type |
Name |
Description |
MyCubeGrid |
entity |
|
TGroupData |
prevGroup |
|
Type Parameters
Name |
Description |
TGroupData |
|
Overrides
Sandbox.Game.Entities.Cube.MyGridGroupData<Sandbox.Game.Entities.MyGridPhysicalGroupData>.OnNodeAdded<TGroupData>(Sandbox.Game.Entities.MyCubeGrid, TGroupData)
OnNodeRemoved<TGroupData>(MyCubeGrid, TGroupData)
Declaration
public override void OnNodeRemoved<TGroupData>(MyCubeGrid entity, TGroupData prevGroup)
where TGroupData : IGroupData<MyCubeGrid>, new()
Parameters
Type |
Name |
Description |
MyCubeGrid |
entity |
|
TGroupData |
prevGroup |
|
Type Parameters
Name |
Description |
TGroupData |
|
Overrides
Sandbox.Game.Entities.Cube.MyGridGroupData<Sandbox.Game.Entities.MyGridPhysicalGroupData>.OnNodeRemoved<TGroupData>(Sandbox.Game.Entities.MyCubeGrid, TGroupData)
OnRelease()
Declaration
public override void OnRelease()
Overrides
Sandbox.Game.Entities.Cube.MyGridGroupData<Sandbox.Game.Entities.MyGridPhysicalGroupData>.OnRelease()
Implements