文档

Unity Engine

Unity Engine

radius

Returns or specifies the radius of the capsule bounding volume.
阅读时间1 分钟最后更新于 1 个月前

Definition

public float radius { get; set; }

Remarks

A negative value will automatically be converted into a positive value. If only a single radius axis is enabled, the value will automatically be converted to
0
. This value can never exceed half the CapsuleBoundsHandle.height.
Additional Resources: PrimitiveBoundsHandle.axes.