Class StandardFrameRateExtensions
A class that contains extension methods for Standard
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
public static class StandardFrameRateExtensions
Methods
ToValue(StandardFrameRate)
Gets the Frame
Declaration
public static FrameRate ToValue(this StandardFrameRate rate)
Parameters
Type | Name | Description |
---|---|---|
Standard |
rate | The standard frame rate. |
Returns
Type | Description |
---|---|
Frame |
The standard frame rate value. |
TryGetStandardRate(FrameRate, out StandardFrameRate)
Gets the Standard
Declaration
public static bool TryGetStandardRate(this FrameRate rate, out StandardFrameRate frameRate)
Parameters
Type | Name | Description |
---|---|---|
Frame |
rate | A frame rate. |
Standard |
frameRate | The standard frame rate, or default if there is no corresponding standard frame rate. |
Returns
Type | Description |
---|---|
bool | true if there is a Standard |