Class DefaultWildcard
Helper class for default Wildcards that you can use when constructing the output file name of a Recorder (see OutputFile).
Namespace: UnityEditor.Recorder
Syntax
public static class DefaultWildcard : object
Fields
Date
The date when the recording session started (in the yyyy-MM-dd format).
Declaration
public static readonly string Date
Field Value
Type | Description |
---|---|
String |
Extension
The file extension of the output format.
Declaration
public static readonly string Extension
Field Value
Type | Description |
---|---|
String |
Frame
The current frame ID (a four-digit zero-padded number).
Declaration
public static readonly string Frame
Field Value
Type | Description |
---|---|
String |
Product
The product name from the build settings: PlayerSettings.productName.
Declaration
public static readonly string Product
Field Value
Type | Description |
---|---|
String |
Project
The name of the current Unity Project.
Declaration
public static readonly string Project
Field Value
Type | Description |
---|---|
String |
Recorder
The Recorder name.
Declaration
public static readonly string Recorder
Field Value
Type | Description |
---|---|
String |
Resolution
The output resolution in pixels.
Declaration
public static readonly string Resolution
Field Value
Type | Description |
---|---|
String |
Scene
The name of the current Unity Scene.
Declaration
public static readonly string Scene
Field Value
Type | Description |
---|---|
String |
Take
The take number (which is incremented every time a new session is started).
Declaration
public static readonly string Take
Field Value
Type | Description |
---|---|
String |
Time
The time the recording session started (in the 00h00m format).
Declaration
public static readonly string Time
Field Value
Type | Description |
---|---|
String |
Methods
GeneratePattern(String)
Formats a tag to be recognized as a wildcard.
Declaration
public static string GeneratePattern(string tag)
Parameters
Type | Name | Description |
---|---|---|
String | tag | The name of the tag. |
Returns
Type | Description |
---|---|
String | The formatted tag. |