Class DefaultWildcard
Helper class for default Wildcards that you can use when constructing the output file name of a Recorder (see OutputFile).
Inherited Members
Namespace: UnityEditor.Recorder
Assembly: Unity.Recorder.Editor.dll
Syntax
public static class DefaultWildcard
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. |