    

 ## On this page

  

 

 # Struct ShaftSetParameters

 Last update: 16.07.2025 

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

This struct represents the shaftset parameters for the operation of body to drivetrain.

```csharp
public struct ShaftSetParameters

```

## Constructors

### ShaftSetParameters()

Default constructor

```csharp
public ShaftSetParameters()

```

### ShaftSetParameters(string, string, Vector, Vector, bool, PowerLoadType, ExpressionValueVariable, ExpressionValueVariable)

Initializes a new instance of the  class

```csharp
public ShaftSetParameters(string bodyName, string shaftSetName, Vector position, Vector rorateAxis, bool powerLoad, PowerLoad.PowerLoadType role, ExpressionValueVariable offset, ExpressionValueVariable width)

```

#### Parameters

`bodyName` [string](https://learn.microsoft.com/dotnet/api/system.string)

The bodyName of the shaftset parameters.

`shaftSetName` [string](https://learn.microsoft.com/dotnet/api/system.string)

The shaftSetName of the shaftset parameters.

`position` Vector

The position of the shaftset parameters.

`rorateAxis` Vector

The rorateAxis of the shaftset parameters.

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

The powerLoad of the shaftset parameters.

`role` PowerLoad.PowerLoadType

The role of the shaftset parameters.

`offset` ExpressionValueVariable

The offset of the shaftset parameters.

`width` ExpressionValueVariable

The of the shaftset parameters..

## Properties

### BodyName

The value for the body name. The default value is "".

```csharp
public string BodyName { readonly get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Offset

The value for the offset. The default value is 0.0.

```csharp
public ExpressionValueVariable Offset { readonly get; set; }

```

#### Property Value

ExpressionValueVariable

### Position

The value for the position. The default value is (0, 0, 0).

```csharp
public Vector Position { readonly get; set; }

```

#### Property Value

Vector

### PowerLoad

The value for the power load. The default value is 'false'.

```csharp
public bool PowerLoad { readonly get; set; }

```

#### Property Value

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

### Role

The value for the role. The default value is 'Input'.

```csharp
public PowerLoad.PowerLoadType Role { readonly get; set; }

```

#### Property Value

PowerLoad.PowerLoadType

### RotateAxis

The value for the rotate axis. The default value is (0, 1, 0).

```csharp
public Vector RotateAxis { readonly get; set; }

```

#### Property Value

Vector

### ShaftSetName

The value for the shaftset name. The default value is "".

```csharp
public string ShaftSetName { readonly get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Width

The value for the width. The default value is 1.

```csharp
public ExpressionValueVariable Width { readonly get; set; }

```

#### Property Value

ExpressionValueVariable