Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RayTracingGeometryInstanceConfig.vertexCount

public int vertexCount;

Description

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.