Version: 2021.1
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingAccelerationStructure.UpdateInstanceTransform

切换到手册
public void UpdateInstanceTransform (Renderer renderer);

描述

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.