Version: 2021.1
言語: 日本語
public Vector3 size ;

説明

Describes the dimensions of the shape.

Used only for the primitive shapes: Sphere, Capsule, Box.

• Sphere: size.x is radius of the sphere.

• Box: size is dimensions of the box, the box extends from -size/2 to size/2.

• Capsule: size.x is radius of the capsule, size.y is the height of the capsule, the capsules tips extend from -size.y/2 to size.y/2.