Version: 2019.2

PrimitiveBoundsHandle.DefaultMidpointHandleSizeFunction

Switch to Manual
public static float DefaultMidpointHandleSizeFunction (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 midpointHandleSizeFunction for new PrimitiveBoundsHandle instances, and is not intended to be called on its own.