기술 자료

Unity Engine

Unity Engine

volumeDepth

Volume extent of a 3D render texture or number of slices of array texture.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int volumeDepth { get; set; }

Remarks

For volumetric render textures (see RenderTexture.dimension), this variable determines the volume extent.
For array render texture (see RenderTexture.dimension), this variable determines the number of slices.
Additional Resources: RenderTexture.dimension.