Method GetMatchingPreset
GetMatchingPreset(float)
Get the index of the preset that matches the lens settings
Declaration
public int GetMatchingPreset(float verticalFOV)
Parameters
Type | Name | Description |
---|---|---|
float | verticalFOV | Vertical field of view |
Returns
Type | Description |
---|---|
int | the preset index, or -1 if no matching preset |