Class CinemachinePhysicalLensPalette
User-definable named presets for physical lenses. This is a Singleton asset, available in editor only
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
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 |
InstanceIfExists | Get the singleton instance of this object, or null if it doesn't exist |
Methods
Name | Description |
---|---|
GetMatchingPreset(Preset) | Get the index of the physical preset that matches the template |
GetPresetIndex(string) | Get the index of the first physical preset that matches the preset name |