Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DrawingScope

Create a new DrawingScope and set Handles.color and/or Handles.matrix to the specified values.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

DrawingScope(Color)

Create a new DrawingScope and set Handles.color and/or Handles.matrix to the specified values.
public DrawingScope(Color color)

Parameters

color

The color to use for displaying Handles inside the scope block.

DrawingScope(Matrix4x4)

Create a new DrawingScope and set Handles.color and/or Handles.matrix to the specified values.
public DrawingScope(Matrix4x4 matrix)

Parameters

matrix

The matrix to use for displaying Handles inside the scope block.

DrawingScope(Color, Matrix4x4)

Create a new DrawingScope and set Handles.color and/or Handles.matrix to the specified values.
public DrawingScope(Color color, Matrix4x4 matrix)

Parameters

color

The color to use for displaying Handles inside the scope block.

matrix

The matrix to use for displaying Handles inside the scope block.