기술 자료

Unity Engine

Unity Engine

RayTracingSubMeshFlagsConfig

A structure used by RayTracingAccelerationStructure.CullInstances that defines the RayTracingSubMeshFlags values for different Material types.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public struct RayTracingSubMeshFlagsConfig

Remarks

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.
Additional Resources: RayTracingAccelerationStructure.

Fields

Value

Description

alphaTestedMaterialsThe corresponding RayTracingSubMeshFlags value for alpha tested Materials.
opaqueMaterialsThe corresponding RayTracingSubMeshFlags value for opaque Materials.
transparentMaterialsThe corresponding RayTracingSubMeshFlags value for transparent Materials.