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

#include <JoltInternal.h>

Public 成员函数

 State (float, float, float, bool)
 
 ~State ()
 

Public 属性

Layers layers
 
JPH::TempAllocatorMalloc allocator
 
JPH::JobSystemSingleThreaded jobs {JPH::cMaxPhysicsJobs}
 
JPH::PhysicsSystem system
 
std::unique_ptr< Listener > listener
 
std::unordered_map< JPH::uint32, std::shared_ptr< BodyState > > bodies
 
std::vector< std::weak_ptr< JointState > > joints
 
std::unordered_map< JPH::uint64, int > suppressedPairs
 
float inverseStep = 0
 
float maximumLinearSpeed = 500.f
 
float stepMilliseconds = 0.f
 
bool continuousCollision = true
 
float hitThreshold = 1.f
 
bool alive = true
 
bool sleep = true
 
bool faulted = false
 

详细描述

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

构造及析构函数说明

◆ State()

eve::physics::jolt::State::State ( float  x,
float  y,
float  z,
bool  allowSleep 
)

在文件 JoltState.cpp 第 85 行定义.

引用了 layers, listener, system, x, y , 以及 z.

◆ ~State()

eve::physics::jolt::State::~State ( )

在文件 JoltState.cpp 第 93 行定义.

引用了 listener , 以及 system.

类成员变量说明

◆ alive

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

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

◆ allocator

JPH::TempAllocatorMalloc eve::physics::jolt::State::allocator

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

◆ bodies

std::unordered_map<JPH::uint32, std::shared_ptr<BodyState> > eve::physics::jolt::State::bodies

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

◆ continuousCollision

bool eve::physics::jolt::State::continuousCollision = true

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

◆ faulted

bool eve::physics::jolt::State::faulted = false

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

◆ hitThreshold

float eve::physics::jolt::State::hitThreshold = 1.f

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

被这些函数引用 eve::physics::jolt::Listener::OnContactSolved().

◆ inverseStep

float eve::physics::jolt::State::inverseStep = 0

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

◆ jobs

JPH::JobSystemSingleThreaded eve::physics::jolt::State::jobs {JPH::cMaxPhysicsJobs}

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

◆ joints

std::vector<std::weak_ptr<JointState> > eve::physics::jolt::State::joints

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

被这些函数引用 eve::physics::jolt::Listener::OnStep().

◆ layers

Layers eve::physics::jolt::State::layers

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

被这些函数引用 State().

◆ listener

std::unique_ptr<Listener> eve::physics::jolt::State::listener

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

被这些函数引用 State() , 以及 ~State().

◆ maximumLinearSpeed

float eve::physics::jolt::State::maximumLinearSpeed = 500.f

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

◆ sleep

bool eve::physics::jolt::State::sleep = true

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

◆ stepMilliseconds

float eve::physics::jolt::State::stepMilliseconds = 0.f

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

◆ suppressedPairs

std::unordered_map<JPH::uint64, int> eve::physics::jolt::State::suppressedPairs

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

被这些函数引用 eve::physics::jolt::Listener::OnContactValidate().

◆ system

JPH::PhysicsSystem eve::physics::jolt::State::system

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

被这些函数引用 State() , 以及 ~State().


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