文档

Unity Engine

Unity Engine

BoxGeometry

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

Definition

public struct BoxGeometry : IGeometry

Constructors

Constructor

Description

BoxGeometry(UnityEngine.Vector3)Create a box shape with the provided parameters.

Properties

Property

Description

GeometryTypeReturns the geometry type of this shape, which is BoxGeometry.
HalfExtentsThe half extents of the box shape.