Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Handles.DrawingScope Constructor

public Handles.DrawingScope(Color color);
public Handles.DrawingScope(Color color, Matrix4x4 matrix);
public Handles.DrawingScope(Matrix4x4 matrix);

Parameters

matrixThe matrix to use for displaying Handles inside the scope block.
colorThe color to use for displaying Handles inside the scope block.

Description

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

Did you find this page useful? Please give it a rating: