기술 자료

Unity Engine

Unity Engine

LightProbes(int)

Creates a new LightProbes object with the given number of probes.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public LightProbes(int size)

Parameters

size

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.