기술 자료

Unity Engine

Unity Engine

layer

The layer used by the ray tracing instance.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public int layer { readonly get; set; }

Remarks

When you manually add ray tracing instances to a RayTracingAccelerationStructure, RayTracingAccelerationStructure.AddInstance filters instances based on the acceleration structure's Layer Mask.