Click or drag to resize
IMyCubeGridCalculateMergeTransform Method

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

Transformation matrix that has to be applied to grid blocks to correctly merge it used because ie. ships can be turned 90 degrees along X axis when being merged

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
MatrixI CalculateMergeTransform(
	IMyCubeGrid gridToMerge,
	Vector3I gridOffset
)

Parameters

gridToMerge
Type: VRage.Game.ModAPIIMyCubeGrid

[Missing <param name="gridToMerge"/> documentation for "M:VRage.Game.ModAPI.IMyCubeGrid.CalculateMergeTransform(VRage.Game.ModAPI.IMyCubeGrid,VRageMath.Vector3I)"]

gridOffset
Type: Vector3I

[Missing <param name="gridOffset"/> documentation for "M:VRage.Game.ModAPI.IMyCubeGrid.CalculateMergeTransform(VRage.Game.ModAPI.IMyCubeGrid,VRageMath.Vector3I)"]

Return Value

Type: MatrixI

[Missing <returns> documentation for "M:VRage.Game.ModAPI.IMyCubeGrid.CalculateMergeTransform(VRage.Game.ModAPI.IMyCubeGrid,VRageMath.Vector3I)"]

See Also