Version: 2023.2

RayTracingSubMeshFlagsConfig

struct in UnityEngine.Rendering

切换到手册

描述

A structure used by RayTracingAccelerationStructure.CullInstances that defines the RayTracingSubMeshFlags values for different Material types.

This configuration determines the behavior of Meshes or individual sub-meshes based on their Material type when building an acceleration structure or when performing ray tracing.

See Also: RayTracingAccelerationStructure.

变量

alphaTestedMaterialsThe corresponding RayTracingSubMeshFlags value for alpha tested Materials.
opaqueMaterialsThe corresponding RayTracingSubMeshFlags value for opaque Materials.
transparentMaterialsThe corresponding RayTracingSubMeshFlags value for transparent Materials.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961