Documentation

Unity Engine

Unity Engine

SphereGeometry

Contains the basic geometric shape of a sphere.
Read time 1 minuteLast updated 2 months 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.