Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SphereGeometry

Contains the basic geometric shape of a sphere.
Read time 1 minuteLast updated 6 days ago

Definition

public struct SphereGeometry : IGeometry

Constructors

Constructor

Description

SphereGeometry(System.Single)Create a sphere shape with the provided parameter.

Properties

Property

Description

GeometryTypeReturns the geometry type of this shape, which is SphereGeometry.
RadiusThe radius of the sphere shape.