Show / Hide Table of Contents

Class MyGridPhysicalGroupData.GroupSharedPxProperties

Inheritance
System.Object
MyGridPhysicalGroupData.GroupSharedPxProperties
Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game.dll
Syntax
public sealed class GroupSharedPxProperties : ValueType

Constructors

GroupSharedPxProperties(MyCubeGrid, HkMassProperties, Int32)

Declaration
public GroupSharedPxProperties(MyCubeGrid referenceGrid, HkMassProperties sharedProperties, int gridCount)
Parameters
Type Name Description
MyCubeGrid referenceGrid
Havok.HkMassProperties sharedProperties
System.Int32 gridCount

Fields

GridCount

Declaration
public readonly int GridCount
Field Value
Type Description
System.Int32

PxProperties

Declaration
public readonly HkMassProperties PxProperties
Field Value
Type Description
Havok.HkMassProperties

ReferenceGrid

Declaration
public readonly MyCubeGrid ReferenceGrid
Field Value
Type Description
MyCubeGrid

Properties

CoMWorld

Declaration
public Vector3D CoMWorld { get; }
Property Value
Type Description
Vector3D

InertiaTensor

Local to reference-grid

Declaration
public Matrix InertiaTensor { get; }
Property Value
Type Description
Matrix

Mass

Declaration
public float Mass { get; }
Property Value
Type Description
System.Single

Methods

GetInertiaTensorLocalToGrid(MyCubeGrid)

Declaration
public Matrix GetInertiaTensorLocalToGrid(MyCubeGrid localGrid)
Parameters
Type Name Description
MyCubeGrid localGrid
Returns
Type Description
Matrix
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾