Version: 2022.2
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingSubMeshFlagsConfig

struct in UnityEngine.Experimental.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.