Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BoxGeometry(Vector3)

Create a box shape with the provided parameters.
Read time 1 minuteLast updated 6 days ago

Definition

public BoxGeometry(Vector3 halfExtents)

Parameters

halfExtents

The distance from the center of the box to the edge on each axis.