    

 ## On this page

  

 

 # Interface IMassProperty

 Last update: 09.03.2026 

<a id="VM_Models_Pre_IMassProperty"></a>

Namespace: [VM.Models.Pre](VM.Models.Pre.md)  
Assembly: VM.Models.Pre.dll

```csharp
public interface IMassProperty

```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### <a id="VM_Models_Pre_IMassProperty_GetMassProperty_System_Double__VM_Vector_VM_OMatrix_System_Double___System_Boolean_"></a> GetMassProperty(ref double, Vector, OMatrix, double\[\], bool)

Gets the mass property.

```csharp
void GetMassProperty(ref double mass, Vector centerPosition, OMatrix matrix, double[] tensor, bool global)

```

#### Parameters

`mass` double

The mass.

`centerPosition` Vector

The center position.

`matrix` OMatrix

The orientation.

`tensor` double\[\]

The tensor.

`global` bool

Global.

### <a id="VM_Models_Pre_IMassProperty_SetMassProperty_System_Double_VM_Vector_VM_OMatrix_System_Double___System_Boolean_"></a> SetMassProperty(double, Vector, OMatrix, double\[\], bool)

Sets the mass property.

```csharp
void SetMassProperty(double mass, Vector centerPosition, OMatrix matrix, double[] tensor, bool global)

```

#### Parameters

`mass` double

The mass.

`centerPosition` Vector

The center position.

`matrix` OMatrix

The orientation.

`tensor` double\[\]

The tensor.

`global` bool

Global.