文档

Unity Engine

Unity Engine

dynamicGeometry

dynamicGeometry is deprecated. Use RayTracingAABBsInstanceConfig.rayTracingMode instead.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
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.