文档

Unity Engine

Unity Engine

vertexCount

The amount of vertices from RayTracingGeometryInstanceConfig.vertexBuffer that defines this ray tracing geometry instance.
阅读时间1 分钟最后更新于 1 个月前

Definition

public int vertexCount { readonly get; set; }

Remarks

Use -1 to instruct Unity to use all the vertices from RayTracingGeometryInstanceConfig.vertexBuffer when building the acceleration structure associated with the ray tracing instance.