# ResourceFormattedPathsAttribute(string, int, int, SearchType)

> Creates a new ResourceFormattedPathsAttribute for an array's elements using formatted path names.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.Rendering](/engine/6000.0/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public ResourceFormattedPathsAttribute(string pathFormat, int rangeMin, int rangeMax, SearchType location = SearchType.ProjectPath)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The format used for the path with a varying index.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The varying index start value (included)**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The varying index end value (excluded)**** (\[SearchType]\(/engine/6000.0/script-reference/unityengine/rendering/searchtype)): Specify if the given paths are from the builtin, builtinExtra or project resources.
