OmniGraph Node omni.physx.graph.SceneQueryRaycastAll
omni.physx.graph.SceneQueryRaycastAll Properties
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.physx.graph |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
python, tests |
tags |
physics,physx,simulation,collision |
uiName |
Raycast, All |
__tokens |
{} |
__categories |
Omni PhysX Scene Queries |
__exclusions |
python,tests |
Generated Class Name |
OgnPhysXSceneQueryRaycastAllDatabase |
Python Module |
omni.physxgraph |
omni.physx.graph.SceneQueryRaycastAll Description
Returns a list of prim paths of all colliders that are hit by the input ray.
omni.physx.graph.SceneQueryRaycastAll Inputs
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:bothSides |
bool |
False |
Y |
Sets whether backfaces of colliders should be included in checks. |
uiName |
Both sides |
|||
__default |
false |
|||
inputs:direction |
[‘vectord[3]’, ‘vectorf[3]’] |
None |
Y |
Ray direction vector |
uiName |
Direction |
|||
inputs:execIn |
execution |
None |
Y |
Input execution |
inputs:origin |
[‘pointd[3]’, ‘pointf[3]’] |
None |
Y |
Ray origin |
uiName |
Origin |
|||
inputs:raycastRange |
[‘double’, ‘float’] |
None |
Y |
Raycast range. Use negative for infinite. If omitted, infinity is used. |
uiName |
Range |
|||
inputs:sortByDistance |
bool |
False |
Y |
Enable to sort outputs by distance. |
uiName |
Sort by distance |
|||
__default |
false |
omni.physx.graph.SceneQueryRaycastAll Outputs
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:bodyPrimPaths |
token[] |
None |
Y |
A list of paths of the associated body prims for the collider prims that are hit by the input ray. |
outputs:colliderPrimPaths |
token[] |
None |
Y |
A list of paths of the collider prims that are hit by the input ray. |
uiName |
Collider Prim paths |
|||
outputs:distances |
float[] |
None |
Y |
A list of distances from the origin to the points hit. |
outputs:execOut |
execution |
None |
Y |
Output execution |
outputs:faceIndexes |
int[] |
None |
Y |
A list of the face indexes of the points hit. |
outputs:materialPaths |
token[] |
None |
Y |
A list of paths of the materials at the points hit. |
outputs:normals |
normalf[3][] |
None |
Y |
A list of surface normals of the points hit. |
outputs:positions |
pointf[3][] |
None |
Y |
A list of positions of the points hit. |