areaSize
The size of the area light.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
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.