文档

Unity Engine

Unity Engine

dynamicGeometry

Whether Unity considers the geometry animated or not.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. dynamicGeometry has been deprecated and will be removed in the future. Use rayTracingMode instead.
public bool dynamicGeometry { readonly get; set; }

Remarks

Set this value to
true
if geometry is being animated. For example, when a compute shader on the GPU animates the geometry, then the acceleration structure associated with the geometry rebuilds every frame.