载入中...
搜索中...
未找到
eve::pixelworld_physics::FragmentBodyConfig结构体 参考

Policy for dynamic fragment fixture creation and terrain settlement. 更多...

#include <PixelWorldPhysics.h>

Public 属性

float density = 1.0f
 
float friction = 0.4f
 
float restitution = 0.05f
 
std::uint32_t maximumFixtures = 256
 

详细描述

Policy for dynamic fragment fixture creation and terrain settlement.

在文件 PixelWorldPhysics.h 第 28 行定义.

类成员变量说明

◆ density

float eve::pixelworld_physics::FragmentBodyConfig::density = 1.0f

在文件 PixelWorldPhysics.h 第 29 行定义.

被这些函数引用 eve::pixelworld_physics::PixelFragmentBody::create().

◆ friction

float eve::pixelworld_physics::FragmentBodyConfig::friction = 0.4f

在文件 PixelWorldPhysics.h 第 30 行定义.

被这些函数引用 eve::pixelworld_physics::PixelFragmentBody::create().

◆ maximumFixtures

std::uint32_t eve::pixelworld_physics::FragmentBodyConfig::maximumFixtures = 256

在文件 PixelWorldPhysics.h 第 32 行定义.

被这些函数引用 eve::pixelworld_physics::PixelFragmentBody::create().

◆ restitution

float eve::pixelworld_physics::FragmentBodyConfig::restitution = 0.05f

在文件 PixelWorldPhysics.h 第 31 行定义.

被这些函数引用 eve::pixelworld_physics::PixelFragmentBody::create().


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