Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

BoxGeometry Constructor

Declaration

public BoxGeometry(Vector3 halfExtents);

Parameters

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

Description

Create a box shape with the provided parameters.