开发者 | kauribeguely |
---|---|
更新时间 | 2025年7月31日 18:21 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[codes_scene id="39"]
By default the width will be 100% of the container the shortcode is placed and the height will be 500px
[codes_scene id="39" width="500px" height="30vh"]
Set custom height and width of the shortcode, accepts all CSS measurements.
The most likely is the model size is huge/tiny. Try scaling it up or down (sometimes a lot).
Either lighting or materials are not setup correctly. Try change the light intensity or toggle environment light. If it's a material issue you need to fix the model in a 3D software e.g. blender or find a new one.
The scene size is based on the height/width of the canvas. The editor canvas is large, almost the whole screen. You can either make the container that holds the shortcode bigger, change the width/height values in the shortcode itself or adjust scales of objects in the editor.
Within the editor you can move all objects into a different layout (click mobile view at the top of the builder UI) beyond a defined breakpoint (set via setting icon in top right of builder). If you want to stop this happening, just set the breakpoint to something tiny like 1px.
Just glb/gltf for now. More coming soon.