载入中...
搜索中...
未找到
eve::physics::Rope类 参考final
Optional physics satellite that owns rope construction, schema, and script bindings. 更多...
#include <Rope.h>
类 eve::physics::Rope 继承关系图:
Public 成员函数 | |
| Module_REG (Rope) | |
| Rope3D * | newRope3D (int particleCount, float startX, float startY, float startZ, float endX, float endY, float endZ) |
| Creates a straight renderer-independent rope. | |
| eve::Result< void > | registerRope3DCreateSchema () |
Registers physics:rope3d-create@1 for tools and editors. | |
| eve::Result< Rope3D * > | newRope3DFromJson (const std::string &json) |
| Validates a versioned creation document and transfers the new rope to the caller. | |
| Rope3D * | newRope3DFromJsonScript (const std::string &json) |
| Script facade that projects creation failure to an exception. | |
Public 成员函数 继承自 eve::Module | |
| virtual | ~Module () |
| Module. | |
| virtual std::string | getName () const =0 |
| Returns the name. | |
详细描述
Optional physics satellite that owns rope construction, schema, and script bindings.
成员函数说明
◆ Module_REG()
| eve::physics::Rope::Module_REG | ( | Rope | ) |
◆ newRope3D()
| Rope3D * eve::physics::Rope::newRope3D | ( | int | particleCount, |
| float | startX, | ||
| float | startY, | ||
| float | startZ, | ||
| float | endX, | ||
| float | endY, | ||
| float | endZ | ||
| ) |
◆ newRope3DFromJson()
| eve::Result< Rope3D * > eve::physics::Rope::newRope3DFromJson | ( | const std::string & | json | ) |
Validates a versioned creation document and transfers the new rope to the caller.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, registerRope3DCreateSchema() , 以及 eve::schema::SchemaRegistry::validate().
◆ newRope3DFromJsonScript()
| Rope3D * eve::physics::Rope::newRope3DFromJsonScript | ( | const std::string & | json | ) |
◆ registerRope3DCreateSchema()
| eve::Result< void > eve::physics::Rope::registerRope3DCreateSchema | ( | ) |
Registers physics:rope3d-create@1 for tools and editors.
被这些函数引用 newRope3DFromJson().
该类的文档由以下文件生成:
Public 成员函数 继承自