Version: 2023.1
言語: 日本語
public void RemoveInstance (Renderer targetRenderer);

パラメーター

targetRenderer The Renderer associated with the ray tracing instance.

説明

Removes a ray tracing instance associated with a Renderer from this RayTracingAccelerationStructure.


public void RemoveInstance (int handle);

パラメーター

handle The handle associated with an AABB or Mesh ray tracing instance.

説明

Removes a ray tracing instance associated with an axis-aligned bounding box (AABBs) GraphicsBuffer or a Mesh instance from this RayTracingAccelerationStructure.