Version: 2023.2
public int vertexCount ;

描述

The amount of vertices from vertexBuffer that defines this ray tracing geometry instance.

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