> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface IMassProperty

Namespace: [VM.Models.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre)\
Assembly: VM.Models.Pre.dll

```csharp theme={null}
public interface IMassProperty
```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### GetMassProperty(ref double, Vector, OMatrix, double\[], bool)

Gets the mass property.

```csharp theme={null}
void GetMassProperty(ref double mass, Vector centerPosition, OMatrix matrix, double[] tensor, bool global)
```

#### Parameters

`mass` [double](https://learn.microsoft.com/dotnet/api/system.double)

The mass.

`centerPosition` Vector

The center position.

`matrix` OMatrix

The orientation.

`tensor` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

The tensor.

`global` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

Global.

### SetMassProperty(double, Vector, OMatrix, double\[], bool)

Sets the mass property.

```csharp theme={null}
void SetMassProperty(double mass, Vector centerPosition, OMatrix matrix, double[] tensor, bool global)
```

#### Parameters

`mass` [double](https://learn.microsoft.com/dotnet/api/system.double)

The mass.

`centerPosition` Vector

The center position.

`matrix` OMatrix

The orientation.

`tensor` [double](https://learn.microsoft.com/dotnet/api/system.double)\[]

The tensor.

`global` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

Global.
