Documentation

Unity Engine

Unity Engine

BoxGeometry

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