文档

Unity Engine

Unity Engine

accelerationStructureBuildFlagsOverride

Whether to override the build flags specified when creating a RayTracingAccelerationStructure.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool accelerationStructureBuildFlagsOverride { readonly get; set; }

Remarks

If you set this value to
true
, Unity uses RayTracingAABBsInstanceConfig.accelerationStructureBuildFlags when it builds the acceleration structure for the geometry referenced by this ray tracing instance.