기술 자료

Unity Engine

Unity Engine

GetCullingParameters(Camera, int, out ScriptableCullingParameters)

Gets culling parameters for a specific culling pass index.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule

GetCullingParameters(Camera, int, ScriptableCullingParameters)

public void GetCullingParameters(Camera camera, int cullingPassIndex, out ScriptableCullingParameters scriptableCullingParameters)

Parameters

camera

Camera for the basis of the culling view and frustum.

cullingPassIndex

Index of the culling pass obtained from XRRenderPass.cullingPassIndex.

scriptableCullingParameters

Scriptable culling parameters to populate.

Remarks

You can obtain a culling pass index from XRRenderPass.cullingPassIndex.