ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


GetCullingParameters(Camera, int, out ScriptableCullingParameters)

Gets culling parameters for a specific culling pass index.
読み終わるまでの所要時間 1 分最終更新 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.