기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


vertexCount

The amount of vertices from RayTracingGeometryInstanceConfig.vertexBuffer that defines this ray tracing geometry instance.
읽는 시간 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.