文档

Unity Engine

Unity Engine

areaSize

The size of the area light.
阅读时间1 分钟最后更新于 1 天前

Definition

public Vector2 areaSize { get; set; }

Remarks

Rect lights: size of Area Light's rectangle. Disc lights: .x is the radius of the Disc light. Tube lights: .x is the length of the Tube light. Pyramid lights: .x is the aspect ratio. Additional Resources: Light component.