기술 자료

Unity Engine

Unity Engine

indexCount

The amount of indices from RayTracingGeometryInstanceConfig.indexBuffer that defines this ray tracing geometry instance.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public int indexCount { readonly get; set; }

Remarks

Use -1 to instruct Unity to use all the indices from RayTracingGeometryInstanceConfig.indexBuffer when building the acceleration structure associated with the ray tracing instance. If the value is positive, it must be a multiple of 3 and together with RayTracingGeometryInstanceConfig.indexStart it must define a valid range into RayTracingGeometryInstanceConfig.indexBuffer.