描述有关给定阴影分割(如定向级联)的剔除信息。
maximumCullingPlaneCount | 剔除平面的最大数量。 |
cullingMatrix | The model view projection matrix Unity uses to cull objects it renders into this shadow map. |
cullingNearPlane | The near plane distance that Unity uses to cull objects. Unity transforms the objects with ShadowSplitData.cullingMatrix, and then culls the ones that are farther than the near plane distance. |
cullingPlaneCount | 剔除平面的数量。 |
cullingSphere | 剔除球体。矢量的前三个组件用于描述球心,最后一个组件用于指定半径。 |
shadowCascadeBlendCullingFactor | 应用于剔除球体半径的乘数。值必须介于 0 到 1 范围内。值越大,Unity 剔除的对象越多。越小,级联共享的渲染对象越多。如果使用较小值,可在不同级联之间混合,因为这样它们会共享对象。 |
GetCullingPlane | 获取剔除平面。 |
SetCullingPlane | 设置剔除平面。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.