0
我的HTML 3D查看器X3DOM,尤其是使用如本例中所示的「剪切面」的工作: https://examples.x3dom.org/clipPlane/clipplane.htmlX3DOM刪除片段平面
我的問題:如何刪除使用JavaScript創建的對象?
在該示例中,對象「ClipPlane」與此函數創建:
function addClipPlane()
{
addMenu();
clipPlanes.push(new ClipPlane(clipScope, scene, runtime));
}
我不能達到獲得每個ClipPlane元件和將其刪除。你知道我該怎麼做?