docs.unity3d.com
    Show / Hide Table of Contents

    Class CinemachineBrainEditor

    Inspector for CinemachineBrain

    Inheritance
    Object
    BaseEditor<CinemachineBrain>
    CinemachineBrainEditor
    Inherited Members
    BaseEditor<CinemachineBrain>.Target
    BaseEditor<CinemachineBrain>.FindAndExcludeProperty<TValue>(Expression<Func<CinemachineBrain, TValue>>)
    BaseEditor<CinemachineBrain>.FindProperty<TValue>(Expression<Func<CinemachineBrain, TValue>>)
    BaseEditor<CinemachineBrain>.FieldPath<TValue>(Expression<Func<CinemachineBrain, TValue>>)
    BaseEditor<CinemachineBrain>.ExcludeProperty(String)
    BaseEditor<CinemachineBrain>.IsPropertyExcluded(String)
    BaseEditor<CinemachineBrain>.BeginInspector()
    BaseEditor<CinemachineBrain>.DrawPropertyInInspector(SerializedProperty)
    BaseEditor<CinemachineBrain>.DrawRemainingPropertiesInInspector()
    Namespace: Cinemachine.Editor
    Syntax
    public sealed class CinemachineBrainEditor : BaseEditor<CinemachineBrain>

    Methods

    DrawVirtualCameraBaseGizmos(CinemachineVirtualCameraBase, GizmoType)

    Draw the gizmo for a virtual camera in the scene view

    Declaration
    public static void DrawVirtualCameraBaseGizmos(CinemachineVirtualCameraBase vcam, GizmoType selectionType)
    Parameters
    Type Name Description
    CinemachineVirtualCameraBase vcam

    The virtual camera

    GizmoType selectionType

    How the object is selected

    GetExcludedPropertiesInInspector()

    Obsolete, do not use. Use the overload, which is more performant

    Declaration
    protected override List<string> GetExcludedPropertiesInInspector()
    Returns
    Type Description
    List<String>

    List of property names to exclude

    Overrides
    Cinemachine.Editor.BaseEditor<Cinemachine.CinemachineBrain>.GetExcludedPropertiesInInspector()

    GetExcludedPropertiesInInspector(List<String>)

    Get the property names to exclude in the inspector.

    Declaration
    protected override void GetExcludedPropertiesInInspector(List<string> excluded)
    Parameters
    Type Name Description
    List<String> excluded

    Add the names to this list

    Overrides
    Cinemachine.Editor.BaseEditor<Cinemachine.CinemachineBrain>.GetExcludedPropertiesInInspector(List<System.String>)

    OnInspectorGUI()

    Create the contents of the inspector panel

    Declaration
    public override void OnInspectorGUI()
    Overrides
    Cinemachine.Editor.BaseEditor<Cinemachine.CinemachineBrain>.OnInspectorGUI()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023