Version: 2018.2
protected void SetSize (Vector3 size);

Parameters

sizeA Vector3 specifying how large the bounding volume is along all of its axes.

Description

Sets the current size of the bounding volume for this instance.

A negative value along any axis of the specified Vector3 will automatically be converted into a positive value. Disabled axes will automatically be converted to 0.

See Also: axes.