Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
jpp::scene::SCollisionHit Class Reference
Collaboration diagram for jpp::scene::SCollisionHit:
Collaboration graph

Public Attributes

core::vector3df Intersection
 Point of collision.
 
core::triangle3df Triangle
 Triangle with which we collided.
 
const ITriangleSelectorTriangleSelector
 Triangle selector which contained the colliding triangle (useful when having MetaTriangleSelector)
 
ISceneNodeNode
 Node which contained the triangle (is 0 when selector doesn't have that information)
 
const IMeshBufferMeshBuffer
 Meshbuffer which contained the triangle (is 0 when the selector doesn't have that information, only works when selectors are created per meshbuffer)
 
jpp::u32 MaterialIndex
 Index of selected material of the triangle in the SceneNode. Usually only valid when MeshBuffer is also set, otherwise always 0.
 

The documentation for this class was generated from the following file:

Jimcpp    @cppfx.xyz

K