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

Owning surface values; userMaterialId contains the engine material ID and combine policy encoding. 更多...

#include <ShapeBackend3D.h>

Public 属性

float friction = 0.2f
 
float restitution = 0.f
 
float rollingResistance = 0.f
 
PhysicsVector3D tangentVelocity
 
uint64_t userMaterialId = 0
 
std::uint32_t customColor = 0
 Optional solver debug color, retained through topology rebuilds.
 

详细描述

Owning surface values; userMaterialId contains the engine material ID and combine policy encoding.

在文件 ShapeBackend3D.h 第 34 行定义.

类成员变量说明

◆ customColor

std::uint32_t eve::physics::SurfaceMaterial3D::customColor = 0

Optional solver debug color, retained through topology rebuilds.

在文件 ShapeBackend3D.h 第 38 行定义.

◆ friction

float eve::physics::SurfaceMaterial3D::friction = 0.2f

在文件 ShapeBackend3D.h 第 35 行定义.

被这些函数引用 eve::physics::Shape3D::setTriangleMeshMaterial().

◆ restitution

float eve::physics::SurfaceMaterial3D::restitution = 0.f

在文件 ShapeBackend3D.h 第 35 行定义.

◆ rollingResistance

float eve::physics::SurfaceMaterial3D::rollingResistance = 0.f

在文件 ShapeBackend3D.h 第 35 行定义.

◆ tangentVelocity

PhysicsVector3D eve::physics::SurfaceMaterial3D::tangentVelocity

在文件 ShapeBackend3D.h 第 36 行定义.

◆ userMaterialId

uint64_t eve::physics::SurfaceMaterial3D::userMaterialId = 0

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