Class CinemachinePhysicalLensPalette
User-definable named presets for physical lenses. This is a Singleton asset, available in editor only
Inherited Members
Namespace: Unity.Cinemachine.Editor
Assembly: solution.dll
Syntax
[Serializable]
public sealed class CinemachinePhysicalLensPalette : ScriptableObject
Fields
Name | Description |
---|---|
Presets | The array containing Preset definitions, for physical cameras |
Properties
Name | Description |
---|---|
Instance | Get the singleton instance of this object. Creates asset if nonexistent |
Instance |
Get the singleton instance of this object, or null if it doesn't exist |
Methods
Name | Description |
---|---|
Get |
Get the index of the physical preset that matches the template |
Get |
Get the index of the first physical preset that matches the preset name |