Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BoxGeometry

Contains the basic geometric shape of a box.
Read time 1 minuteLast updated 4 days ago

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.