ドキュメント

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.