文档

Unity Engine

Unity Engine

SphereGeometry

Contains the basic geometric shape of a sphere.
阅读时间1 分钟最后更新于 1 个月前

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.