Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
nirt::scene::SCollisionHit Class Reference
Collaboration diagram for nirt::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)
 
nirt::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:

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print