raycast question

I have one question about raycast function

PxGeometryQuery::raycast function is need to Geometry value and position about that geometry

and I want to know if there is something between the starting point and the geomatry,

Is hit count increases?

Hi,
I am not sure I understand the question.
The hit count can be more than 1 if you raycast against triangle mesh geometry or heightfield geometry and have the eMESH_MULTIPLE flag enabled.
The PxGeometryQuery::raycast does raycast only against the given geometry, there is no other object in between.

Regards,
Ales