GetMassProperties

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

Syntax

C#
public override void GetMassProperties(
	PrimitiveProperties primitiveProperties,
	out float mass,
	out Vector3 centerOfMass,
	out Matrix inertiaTensor
)
Visual Basic
Public Overrides Sub GetMassProperties ( _
	primitiveProperties As PrimitiveProperties, _
	<OutAttribute> ByRef mass As Single, _
	<OutAttribute> ByRef centerOfMass As Vector3, _
	<OutAttribute> ByRef inertiaTensor As Matrix _
)
Visual C++
public:
virtual void GetMassProperties(
	PrimitiveProperties primitiveProperties, 
	[OutAttribute] float% mass, 
	[OutAttribute] Vector3% centerOfMass, 
	[OutAttribute] Matrix% inertiaTensor
) override

Parameters

primitiveProperties
Type: JigLibX.Geometry..::..PrimitiveProperties

[Missing <param name="primitiveProperties"/> documentation for "M:JigLibX.Geometry.Heightmap.GetMassProperties(JigLibX.Geometry.PrimitiveProperties,System.Single@,Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Matrix@)"]

mass
Type: System..::..Single%

[Missing <param name="mass"/> documentation for "M:JigLibX.Geometry.Heightmap.GetMassProperties(JigLibX.Geometry.PrimitiveProperties,System.Single@,Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Matrix@)"]

centerOfMass
Type: Vector3%

[Missing <param name="centerOfMass"/> documentation for "M:JigLibX.Geometry.Heightmap.GetMassProperties(JigLibX.Geometry.PrimitiveProperties,System.Single@,Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Matrix@)"]

inertiaTensor
Type: Matrix%

[Missing <param name="inertiaTensor"/> documentation for "M:JigLibX.Geometry.Heightmap.GetMassProperties(JigLibX.Geometry.PrimitiveProperties,System.Single@,Microsoft.Xna.Framework.Vector3@,Microsoft.Xna.Framework.Matrix@)"]

See Also