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

Owning snapshot of the closest ray intersection. 更多...

#include <OwnedQuery3D.h>

Public 属性

bool hit = false
 
PhysicsWorldHandle world = PhysicsWorldHandle::invalid()
 
PhysicsBodyHandle body = PhysicsBodyHandle::invalid()
 
PhysicsShapeHandle shape = PhysicsShapeHandle::invalid()
 
int bodyId = -1
 
int shapeId = -1
 
int shapeTag = 0
 
int materialId = 0
 
int triangleIndex = -1
 
float x = 0.f
 
float y = 0.f
 
float z = 0.f
 
float normalX = 0.f
 
float normalY = 0.f
 
float normalZ = 0.f
 
float fraction = 1.f
 

详细描述

Owning snapshot of the closest ray intersection.

在文件 OwnedQuery3D.h 第 54 行定义.

类成员变量说明

◆ body

PhysicsBodyHandle eve::physics::RayHit3D::body = PhysicsBodyHandle::invalid()

◆ bodyId

int eve::physics::RayHit3D::bodyId = -1

◆ fraction

float eve::physics::RayHit3D::fraction = 1.f

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

被这些函数引用 eve::physics::World3D::rayCastOwned().

◆ hit

bool eve::physics::RayHit3D::hit = false

◆ materialId

int eve::physics::RayHit3D::materialId = 0

◆ normalX

float eve::physics::RayHit3D::normalX = 0.f

◆ normalY

float eve::physics::RayHit3D::normalY = 0.f

◆ normalZ

float eve::physics::RayHit3D::normalZ = 0.f

◆ shape

PhysicsShapeHandle eve::physics::RayHit3D::shape = PhysicsShapeHandle::invalid()

◆ shapeId

int eve::physics::RayHit3D::shapeId = -1

◆ shapeTag

int eve::physics::RayHit3D::shapeTag = 0

◆ triangleIndex

int eve::physics::RayHit3D::triangleIndex = -1

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

被这些函数引用 eve::physics::World3D::rayCastOwned().

◆ world

PhysicsWorldHandle eve::physics::RayHit3D::world = PhysicsWorldHandle::invalid()

在文件 OwnedQuery3D.h 第 56 行定义.

被这些函数引用 eve::physics::World3D::rayCastOwned().

◆ x

float eve::physics::RayHit3D::x = 0.f

◆ y

float eve::physics::RayHit3D::y = 0.f

◆ z

float eve::physics::RayHit3D::z = 0.f

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