该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

EZ Aframe

描述

A simple plugin that allows you to create, view and manage AFrame content in WordPress. Content is saved in the database and viewed using a shortcode. Content editor and creation tool are included.

AFrame

This plugin uses AFrame version 1.3.0 + AFrame Extra and a custom build of AFrame Inspector for the creation tool. So it may share some bugs and limitations with them.

How to use

At the admin dashboard, there is a EZ Aframe menu in the sidebar.

Dashboard

List of your projects.

Add New

To add/create new content.

Studio

After clicking “Add New” or “Edit” content/project, you will be taken to this page. Click “Start Studio” to start editing/creating. This studio is based on AFrame Inspector. Please go to this page for more info and a usage guide.
https://aframe.io/docs/master/introduction/visual-inspector-and-dev-tools.html

Assets

Assets like texture and model(.glb & gltf) can be uploaded to the WordPress media library. For texture, there are 2 buttons. The first one is a built-in/default texture chooser that includes with AFrame Inspector. The second one is for the WordPress media library. For the model, there is a button beside text input. Use that button to open the WordPress media library. Only for gltf(with glb or gltf extension) file is supported. Glb is recommended.

Toolbar

The toolbar is below the “Close Studio” button.

Add New Entity

First button is for add new empty entity to the scene.

Play

Second button is for playing the scene. Some components may not run in editing mode.

Export

Button with gltf icon. Use this button to export scene into gltf model. Please note that component is not working at other editing tool.

Save

Use this button to save scene into database.

Info

To open info about this content/project. You can edit title and description here. You can get your content/project shortcode here.

Add Object

Big button below other buttons. This will open the menu which contains primitives objects and template.

[https://ko-fi.com/otaiz]

Note

This plugin dont have a premium feature. And I don’t have any plan to make a premium feature. If you find this plugin useful, please consider donating at the link below. It’s not much, but there is some extension for this plugin that may be useful for you.

屏幕截图

  • Dashboard
  • Toolbar
  • Texture input. (1) default . (2) worpress media library
  • Choose texture from media library.
  • Gltf input
  • Choose model from media library.
  • Object/Template menu
  • Primitive object
  • Project Info

评价

2023 年 6 月 4 日
Great idea to put A-Frame in a plugin right along with an Inspector in a WP plugin. This really takes a lot of work off your hands and is available so instant.I don’t know if it is thought of to provide the scenes also in frontend posts as a block. But you can also simply copy the scenes as pure HTML and use them in the block editor.
阅读所有1条评价

贡献者及开发者

「EZ Aframe」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「EZ Aframe」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial Release