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.

ArcHandle.DefaultRadiusHandleSizeFunction

public static float DefaultRadiusHandleSizeFunction(Vector3 position);

Parameters

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

Returns

float The size to use for a handle at the specified position.

Description

A SizeFunction that returns a fixed screen-space size.

This method is the default value assigned to radiusHandleSizeFunction for new ArcHandle instances, and is not intended to be called on its own.

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