#include "physics/destruction/cook/GeometryCollectionCooker.h"#include "asset/CanonicalMesh.h"#include <algorithm>#include <cmath>#include <cstdint>#include <limits>#include <utility>#include <vector>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::physics |
| Optional physics backend for vehicle mobility and body attach. | |
| namespace | eve::physics::destruction_cook |
函数 | |
| eve::Result< GeometryCollectionAsset > | eve::physics::destruction_cook::cookGeometryCollection (const eve::asset::CanonicalMeshData &mesh, const FractureRecipe &recipe) |
| Cook an owning canonical mesh into a geometry-collection asset. | |
变量说明
◆ center
| Vec3 center |
在文件 GeometryCollectionCooker.cpp 第 48 行定义.
◆ clusterId
| int clusterId = 0 |
◆ halfExtent
| Vec3 halfExtent |
◆ max
| Vec3 max |
在文件 GeometryCollectionCooker.cpp 第 23 行定义.
被这些函数引用 eve::graphics::exposeWaterReflectionMaskerBindings(), eve::dev::ConsolePanel::format(), eve::dev::AiPanel::formatLog(), eve::rpg::VitalsSystem::heal(), eve::rpg::VitalsSystem::isDead(), eve::weapon::Weapon::newAmmoPool(), eve::math::Math::randomRange(), eve::filesystem::File::read(), eve::dev::ConsolePanel::read(), eve::filesystem::physfs::File::read(), eve::dev::ConsolePanel::recent(), eve::dev::AiPanel::recentLog(), eve::rpg::VitalsSystem::revive(), eve::audio::Source::setAttenuationDistances(), eve::rpg::VitalsSystem::setCurrent() , 以及 eve::rpg::VitalsSystem::takeDamage().
◆ min
◆ position
| Vec3 position |
在文件 GeometryCollectionCooker.cpp 第 54 行定义.
◆ x
| float x = 0.f |
在文件 GeometryCollectionCooker.cpp 第 16 行定义.
◆ y
| float y = 0.f |
在文件 GeometryCollectionCooker.cpp 第 17 行定义.
◆ z
| float z = 0.f |
在文件 GeometryCollectionCooker.cpp 第 18 行定义.