载入中...
搜索中...
未找到
eve::physics::jolt::BodyState结构体 参考

#include <JoltInternal.h>

Public 成员函数

bool valid () const
 
JPH::BodyInterface & api () const
 

Public 属性

std::weak_ptr< State > world
 
JPH::MassProperties mass
 
JPH::BodyID id
 
Body3D * owner = nullptr
 
std::vector< std::shared_ptr< ShapeState > > shapes
 
bool alive = true
 
bool active = true
 
bool attached = true
 
bool bullet = false
 
bool customSleepThreshold = false
 
bool sleepEnabled = true
 
float sleepThreshold = .03f
 
float quietSeconds = 0.f
 
JPH::EAllowedDOFs dofs = JPH::EAllowedDOFs::All
 

详细描述

在文件 JoltInternal.h 第 75 行定义.

成员函数说明

◆ api()

JPH::BodyInterface & eve::physics::jolt::BodyState::api ( ) const
inline

在文件 JoltInternal.h 第 90 行定义.

引用了 world.

◆ valid()

bool eve::physics::jolt::BodyState::valid ( ) const
inline

在文件 JoltInternal.h 第 86 行定义.

引用了 alive, w , 以及 world.

类成员变量说明

◆ active

bool eve::physics::jolt::BodyState::active = true

在文件 JoltInternal.h 第 81 行定义.

◆ alive

bool eve::physics::jolt::BodyState::alive = true

在文件 JoltInternal.h 第 81 行定义.

被这些函数引用 valid().

◆ attached

bool eve::physics::jolt::BodyState::attached = true

在文件 JoltInternal.h 第 81 行定义.

◆ bullet

bool eve::physics::jolt::BodyState::bullet = false

在文件 JoltInternal.h 第 82 行定义.

◆ customSleepThreshold

bool eve::physics::jolt::BodyState::customSleepThreshold = false

在文件 JoltInternal.h 第 83 行定义.

◆ dofs

JPH::EAllowedDOFs eve::physics::jolt::BodyState::dofs = JPH::EAllowedDOFs::All

在文件 JoltInternal.h 第 85 行定义.

◆ id

JPH::BodyID eve::physics::jolt::BodyState::id

在文件 JoltInternal.h 第 78 行定义.

◆ mass

JPH::MassProperties eve::physics::jolt::BodyState::mass

在文件 JoltInternal.h 第 77 行定义.

◆ owner

Body3D* eve::physics::jolt::BodyState::owner = nullptr

在文件 JoltInternal.h 第 79 行定义.

◆ quietSeconds

float eve::physics::jolt::BodyState::quietSeconds = 0.f

在文件 JoltInternal.h 第 84 行定义.

◆ shapes

std::vector<std::shared_ptr<ShapeState> > eve::physics::jolt::BodyState::shapes

在文件 JoltInternal.h 第 80 行定义.

◆ sleepEnabled

bool eve::physics::jolt::BodyState::sleepEnabled = true

在文件 JoltInternal.h 第 83 行定义.

◆ sleepThreshold

float eve::physics::jolt::BodyState::sleepThreshold = .03f

在文件 JoltInternal.h 第 84 行定义.

◆ world

std::weak_ptr<State> eve::physics::jolt::BodyState::world

在文件 JoltInternal.h 第 76 行定义.

被这些函数引用 api() , 以及 valid().


该结构体的文档由以下文件生成: