Skip to content
创建面
js
new THING.PlaneRegion({
    // Vertex position coordinates
    points: [
        [-5, 0, -5],
        [5, 0, -5],
        [5, 0, 5],
        [-5, 0, 5]
    ],
    // Hole plane position coordinates
    selfPlaneHoles: [
        [
            [1, 1],
            [1, 3],
            [3, 3],
            [3, 1]
        ]
    ],
    position: [0, 1, 0]
});
效果图

效果图

京ICP备13053130号 京公网安备11010502050947号