HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdxPickHit Struct Reference

#include <pickTask.h>

Public Member Functions

bool IsValid () const
 
HDX_API size_t GetHash () const
 

Public Attributes

SdfPath delegateId
 
SdfPath objectId
 
SdfPath instancerId
 
int instanceIndex
 
int elementIndex
 
int edgeIndex
 
int pointIndex
 
GfVec3f worldSpaceHitPoint
 
GfVec3f worldSpaceHitNormal
 
float normalizedDepth
 

Detailed Description

Picking hit structure. This is output by the pick task as a record of what objects the picking query found.

Definition at line 92 of file pickTask.h.

Member Function Documentation

HDX_API size_t HdxPickHit::GetHash ( ) const
bool HdxPickHit::IsValid ( ) const
inline

Definition at line 105 of file pickTask.h.

Member Data Documentation

SdfPath HdxPickHit::delegateId

Definition at line 93 of file pickTask.h.

int HdxPickHit::edgeIndex

Definition at line 98 of file pickTask.h.

int HdxPickHit::elementIndex

Definition at line 97 of file pickTask.h.

int HdxPickHit::instanceIndex

Definition at line 96 of file pickTask.h.

SdfPath HdxPickHit::instancerId

Definition at line 95 of file pickTask.h.

float HdxPickHit::normalizedDepth

Definition at line 103 of file pickTask.h.

SdfPath HdxPickHit::objectId

Definition at line 94 of file pickTask.h.

int HdxPickHit::pointIndex

Definition at line 99 of file pickTask.h.

GfVec3f HdxPickHit::worldSpaceHitNormal

Definition at line 101 of file pickTask.h.

GfVec3f HdxPickHit::worldSpaceHitPoint

Definition at line 100 of file pickTask.h.


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