Class CinemachineLensPalette
User-definable named presets for lenses. This is a Singleton asset, available in editor only
Inherited Members
Namespace: Unity.Cinemachine.Editor
Assembly: solution.dll
Syntax
[Serializable]
public sealed class CinemachineLensPalette : ScriptableObject
Fields
Name | Description |
---|---|
Presets | The array containing Preset definitions for nonphysical 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 preset that matches the lens settings |
Get |
Get the index of the first preset that matches the preset name |