This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingAccelerationStructure.UpdateInstanceTransform

Declaration

public void UpdateInstanceTransform(Renderer renderer);

Description

Updates the transform of the instance associated with the Renderer passed as argument.

Note that building the acceleration structure on the GPU has to be triggered by calling RayTracingAccelerationStructure.Build or CommandBuffer.BuildRayTracingAccelerationStructure.