## Write(FMatrix4) {#write}

Write the matrix to the constant

```csharp
public PushConstant Write(FMatrix4 mat)
```

| Parameter | Type | Description |
| --- | --- | --- |
| mat | FMatrix4 | The matrix to write |

### See Also

* struct [FMatrix4](../../../aspose.threed.utilities/fmatrix4/)
* class [PushConstant](../)
* namespace [Aspose.ThreeD.Render](../../pushconstant/)
* assembly [Aspose.3D](../../../)

---

## Write(int) {#write_3}

Write a int value to the constant

```csharp
public PushConstant Write(int n)
```

| Parameter | Type | Description |
| --- | --- | --- |
| n | Int32 |  |

### See Also

* class [PushConstant](../)
* namespace [Aspose.ThreeD.Render](../../pushconstant/)
* assembly [Aspose.3D](../../../)

---

## Write(float) {#write_4}

Write a float value to the constant

```csharp
public PushConstant Write(float f)
```

| Parameter | Type | Description |
| --- | --- | --- |
| f | Single |  |

### See Also

* class [PushConstant](../)
* namespace [Aspose.ThreeD.Render](../../pushconstant/)
* assembly [Aspose.3D](../../../)

---

## Write(FVector4) {#write_2}

Write a 4-component vector to the constant

```csharp
public PushConstant Write(FVector4 vec)
```

| Parameter | Type | Description |
| --- | --- | --- |
| vec | FVector4 |  |

### See Also

* struct [FVector4](../../../aspose.threed.utilities/fvector4/)
* class [PushConstant](../)
* namespace [Aspose.ThreeD.Render](../../pushconstant/)
* assembly [Aspose.3D](../../../)

---

## Write(FVector3) {#write_1}

Write a 3-component vector to the constant

```csharp
public PushConstant Write(FVector3 vec)
```

| Parameter | Type | Description |
| --- | --- | --- |
| vec | FVector3 |  |

### See Also

* struct [FVector3](../../../aspose.threed.utilities/fvector3/)
* class [PushConstant](../)
* namespace [Aspose.ThreeD.Render](../../pushconstant/)
* assembly [Aspose.3D](../../../)

---

## Write(float, float, float, float) {#write_5}

Write a 4-component vector to the constant

```csharp
public PushConstant Write(float x, float y, float z, float w)
```

| Parameter | Type | Description |
| --- | --- | --- |
| x | Single |  |
| y | Single |  |
| z | Single |  |
| w | Single |  |

### See Also

* class [PushConstant](../)
* namespace [Aspose.ThreeD.Render](../../pushconstant/)
* assembly [Aspose.3D](../../../)


