LightProbes(int)
Creates a new LightProbes object with the given number of probes.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Constructor
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public LightProbes(int size)
Parameters
The number of light probes to allocate space for.
Remarks
After creating the object, use LightProbes.SetPositionsSelf and LightProbes.SetSHCoefficientsSelf to assign probe positions and spherical harmonics coefficients, then call LightProbes.Append to register the object for use in rendering.