Class CinemachineBrainEditor
Inspector for CinemachineBrain
Inheritance
Inherited Members
Namespace: Cinemachine.Editor
Syntax
[CustomEditor(typeof(CinemachineBrain))]
[CanEditMultipleObjects]
public sealed class CinemachineBrainEditor : BaseEditor<CinemachineBrain>, IPreviewable, IToolModeOwner
Methods
DrawVirtualCameraBaseGizmos(CinemachineVirtualCameraBase, GizmoType)
Draw the gizmo for a virtual camera in the scene view
Declaration
[DrawGizmo((GizmoType)25, typeof(CinemachineVirtualCameraBase))]
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
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
OnInspectorGUI()
Create the contents of the inspector panel
Declaration
public override void OnInspectorGUI()