文档

Unity Engine

Unity Engine

indexCount

The amount of indices from an index buffer that defines a ray tracing geometry.
阅读时间1 分钟最后更新于 1 个月前

Definition

public int indexCount { readonly get; set; }

Remarks

This value must be a multiple of 3 and together with RayTracingSubGeometryDesc.indexStart it must define a valid range into an index buffer.