ドキュメント

Unity Engine

Unity Engine

height

The height of the capsule measured in the object's local space.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public float height { get; set; }

Remarks

The capsule's height will be scaled by the transform's scale. Note: The height is the actual height including the half-spheres at each end.