Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


subGeometriesValidation

Whether to validate the entries in the subGeometries array relative to vertexBuffer and indexBuffer buffers.
Read time 1 minuteLast updated 6 days ago

Definition

public bool subGeometriesValidation { readonly get; set; }

Remarks

Unity validates the ranges specified in the
RayTracingSubGeometryDesc
entries in the
subGeometries
array if the value is true. If the ranges are not valid, Unity throws an exception. You can disable this option before the release of your project for improved CPU performance.
Additional Resources: RayTracingSubGeometryDesc.