# GetDofStartIndices(List<int>)

> Calculates and reads back reduced coordinate data start indexes in reduced coordinate data buffer for every articulation body in the hierarchy.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
public int GetDofStartIndices(List<int> dofStartIndices)
```

### Parameters

**** (\[List\<int>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): Supplied list of integers to read back and store the data.

### Returns

| Type                                                       | Description                                                               |
| ---------------------------------------------------------- | ------------------------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Total degrees of freedom for the entire hierarchy of articulation bodies. |

### Remarks

In order to read back or set entire articulation hierarchy data in reduced coordinates where every degree of freedom is represented by float value, one needs to find the location of reduced cordinates data for particular ArticulationBody. This can be achieved by calling [ArticulationBody.GetDofStartIndices](/engine/6000.0/script-reference/unityengine/articulationbody/getdofstartindices.md) and indexing resulting list by the particular body index via [ArticulationBody.index](/engine/6000.0/script-reference/unityengine/articulationbody/index.md). Number of degrees of freedom for particular articulation body can be found using [ArticulationBody.dofCount](/engine/6000.0/script-reference/unityengine/articulationbody/dofcount.md). Additional Resources: [ArticulationBody.index](/engine/6000.0/script-reference/unityengine/articulationbody/index.md), [ArticulationBody.GetDofStartIndices](/engine/6000.0/script-reference/unityengine/articulationbody/getdofstartindices.md), [ArticulationBody.dofCount](/engine/6000.0/script-reference/unityengine/articulationbody/dofcount.md).
