This overrides the result for a single pair of materials. It's recommended that you add all materials first. Order of ids doesn't matter

Namespace: JigLibX.Collision
Assembly: JigLibX (in JigLibX.dll) Version: 0.3.1.0

Syntax

C#
public void SetMaterialPairProperties(
	int id1,
	int id2,
	MaterialPairProperties pairProperties
)
Visual Basic
Public Sub SetMaterialPairProperties ( _
	id1 As Integer, _
	id2 As Integer, _
	pairProperties As MaterialPairProperties _
)
Visual C++
public:
void SetMaterialPairProperties(
	int id1, 
	int id2, 
	MaterialPairProperties pairProperties
)

Parameters

id1
Type: System..::..Int32

[Missing <param name="id1"/> documentation for "M:JigLibX.Collision.MaterialTable.SetMaterialPairProperties(System.Int32,System.Int32,JigLibX.Collision.MaterialPairProperties)"]

id2
Type: System..::..Int32

[Missing <param name="id2"/> documentation for "M:JigLibX.Collision.MaterialTable.SetMaterialPairProperties(System.Int32,System.Int32,JigLibX.Collision.MaterialPairProperties)"]

pairProperties
Type: JigLibX.Collision..::..MaterialPairProperties

[Missing <param name="pairProperties"/> documentation for "M:JigLibX.Collision.MaterialTable.SetMaterialPairProperties(System.Int32,System.Int32,JigLibX.Collision.MaterialPairProperties)"]

See Also