Three Importer
Three Importer allows users to insert custom ThreeJS scenes which can be implemented via Block editor, shortcode, or custom script injection. This allows people with little-to-no coding experience to well-seasoned developers to create beautiful, 3D scenes with full control over the settings. Block S
Three Importer allows users to insert custom ThreeJS scenes which can be implemented via Block editor, shortcode, or custom script injection. This allows people with little-to-no coding experience to well-seasoned developers to create beautiful, 3D scenes with full control over the settings.
Block Support Three Importer has full support with the official WordPress Block Editor. Simply type and select “/Three Importer” in your page editor and you’ll see the 3D render notice for the public view.
Shortcode Support Three Importer allows the exact same functionality from blocks within the [ti3d_scene] shortcode. Developers can also use the [ti3d_sceneinject] shortcode to call project-specific libraries from THREE and use them within custom scripts.
Shortcode Parameters
Geometry Settings
- geometry : Type of 3D shape (default: box).
- geometry_color : Hex color code (default: #000000).
- geometry_material : Three.js material type (default: basic).
- geometry_size : Scaling factor (default: 1).
- geometry_xrotation / yrotation / zrotation : Initial rotation.
- geometry_instancing : Enable instanced rendering (default: false).
- geometry_instancingnum : Total instances (default: 50).
- geometry_instancingspacing : Gap between instances (default: 1).
- gltf_url : URL for external GLTF/GLB models.
Lighting Settings
- light : Light source type (default: ambient).
- light_color : Color of the light (default: #ffffff).
- light_intensity : Brightness (default: 1).
- light_xpos / ypos / zpos : Light coordinates (default: 0).
- light_helper : Toggle visual position guide (default: false).