Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SphereBoundsHandle

A compound handle to edit a sphere-shaped bounding volume in the Scene view.
Read time 1 minuteLast updated 10 days ago

Definition

public class SphereBoundsHandle : PrimitiveBoundsHandle

Remarks

A sphere volume is defined by only a SphereBoundsHandle.radius parameter, and so dragging a handle will always scale the volume uniformly.
SphereBoundsHandle (SphereBoundsHandle)
2D and 3D SphereBoundsHandle in the Scene View.
Additional Resources: PrimitiveBoundsHandle.

Constructors

Constructor

Description

SphereBoundsHandle()Create a new instance of the SphereBoundsHandle class.

Properties

Property

Description

radiusReturns or specifies the radius of the sphere bounding volume.

Methods

Method

Description

DrawWireframeDraw a wireframe sphere for this instance.
OnHandleChangedA callback for when a control handle was dragged in the Scene.

Inheritance