기술 자료

Unity Engine

Unity Engine

areaSize

The size of the area light.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Vector2 areaSize { get; set; }

Remarks

Rectangle/Box lights: 2D size. Disc lights: .x is the radius of the disc. Tube lights: .x is the length of the tube. Pyramid lights: .x is the aspect ratio. Additional Resources: Light component.