Class CinemachineLensPresets
User-definable named presets for lenses. This is a Singleton asset, available in editor only
상속된 멤버
네임스페이스: Cinemachine.Editor
어셈블리: solution.dll
구문
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[Serializable]
public sealed class CinemachineLensPresets : ScriptableObject
필드
이름 | 설명 |
---|---|
m_PhysicalPresets | The array containing Preset definitions, for physical cameras |
m_Presets | The array containing Preset definitions for nonphysical cameras |
프로퍼티
이름 | 설명 |
---|---|
Instance | Get the singleton instance of this object. Creates asset if nonexistant |
InstanceIfExists | Get the singleton instance of this object, or null if it doesn't exist |
메서드
이름 | 설명 |
---|---|
GetMatchingPhysicalPreset(float) | Get the index of the physical preset that matches the lens settings |
GetMatchingPreset(float) | Get the index of the preset that matches the lens settings |