ドキュメント

Unity Engine

Unity Engine

RayTracingMode

Options for updating a ray tracing instance added to a RayTracingAccelerationStructure.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public enum RayTracingMode

Remarks

Additional Resources: SystemInfo.supportsRayTracing.

Fields

Value

Description

DynamicGeometryUse this mode when the associated geometry or transformation can change.
DynamicGeometryManualUpdateUse this mode when the associated geometry or transformation can change. Call RayTracingAccelerationStructure.UpdateInstanceGeometry to mark the geometry as dirty.
DynamicTransformUse this mode to have ray tracing instances update the transformation. This mode does not update their geometry.
OffUse this mode to ensure the ray tracing instances are not added to a RayTracingAccelerationStructure, and that they cannot be ray traced.
StaticUse this mode to have the ray tracing instances remain static, and never update their transformation or geometry.