Method GetMatchingPhysicalPreset
GetMatchingPhysicalPreset(float)
Get the index of the physical preset that matches the lens settings
Declaration
public int GetMatchingPhysicalPreset(float focalLength)
Parameters
| Type | Name | Description |
|---|---|---|
| float | focalLength |
Returns
| Type | Description |
|---|---|
| int | the preset index, or -1 if no matching preset |