Version: 5.6 (switch to 2017.1b)
LanguageEnglish
  • C#
  • JS

Script language

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

Handles.SizeFunction

public delegate float SizeFunction(Vector3 position);

Parameters

position The current position of the handle in the space of Handles.matrix.

Description

A delegate type for getting a handle's size based on its current position.