# RenderingLayerMaskField

> Constructor of the field.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor.UIElements](/engine/6000.6/script-reference/unityeditor/uielements.md)
* **Assembly:** UnityEditor.CoreModule

## RenderingLayerMaskField(uint)

Constructor of the field.

```csharp
public RenderingLayerMaskField(uint defaultMask)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The mask to use for a first selection.

## RenderingLayerMaskField(string)

Constructor of the field.

```csharp
public RenderingLayerMaskField(string label)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The label to prefix the [RenderingLayerMaskField](/engine/6000.6/script-reference/unityeditor/uielements/renderinglayermaskfield.md).

## RenderingLayerMaskField()

Constructor of the field.

```csharp
public RenderingLayerMaskField()
```

## RenderingLayerMaskField(string, uint)

Constructor of the field.

```csharp
public RenderingLayerMaskField(string label, uint defaultMask)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The label to prefix the [RenderingLayerMaskField](/engine/6000.6/script-reference/unityeditor/uielements/renderinglayermaskfield.md).**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The mask to use for a first selection.
