Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

BoundingSphere

struct in UnityEngine

Switch to Manual

Description

Describes a single bounding sphere for use by a CullingGroup.

Variables

positionThe position of the center of the BoundingSphere.
radiusThe radius of the BoundingSphere.

Constructors

BoundingSphereInitializes a BoundingSphere.