Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


dynamicGeometry

dynamicGeometry is deprecated. Use RayTracingAABBsInstanceConfig.rayTracingMode instead.
Read time 1 minuteLast updated 6 days ago

Definition

Warning
Deprecated. RayTracingAABBsInstanceConfig.dynamicGeometry is deprecated and will be removed in a future release. Use RayTracingAABBsInstanceConfig.rayTracingMode instead.
public bool dynamicGeometry { readonly get; set; }

Remarks

Whether the data in RayTracingAABBsInstanceConfig.aabbBuffer is dynamic. If the data is dynamic and changes frequently, Unity rebuilds the acceleration structure of the geometry referenced by this ray tracing instance configuration every frame. If you set this property to
true
, Unity ignores RayTracingAABBsInstanceConfig.rayTracingMode and uses RayTracingMode.DynamicGeometry.