# CalculateZBufferParams Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Utilities.CameraMath.CalculateZBufferParams/ CalculateZBufferParams --- ## Declaration public static Vector4 CalculateZBufferParams(float near, float far) #### Summary Calculates a ZBufferParams container, similar to the built-in _ZBufferParams used in shaders, but instead of using the clipping plane distances of the camera, it will consider the specified near and far values. ### Parameters | Name | Type | Summary | | --- | --- | --- | | near | float | - | | far | float | - | ---