SAP 3D Visual Enterprise applications SDK
sDVLHitTest Struct Reference

#include <DVLRenderer.h>

Public Attributes

uint16_t m_uSizeOfDVLHitTest
 Size of the structure. You must set it to sizeof(sDVLHitTest) before calling HitTest()
 
float m_fScreenCoordinateX
 Input: X, Y coordinates of the point in question.
 
float m_fScreenCoordinateY
 
DVLID m_idNode
 Output: identifier of the node that was hit. Or DVLID_INVALID if there are no 3D objects underneath the X, Y screen coordinate.
 
float m_fWorldCoordinateX
 Output: world coordinate of the hit (only valid if m_idNode != DVLID_INVALID)
 
float m_fWorldCoordinateY
 
float m_fWorldCoordinateZ
 
float m_fLocalCoordinateX
 Output: local coordinate of the hit (only valid if m_idNode != DVLID_INVALID). In local coordinates of m_idNode node.
 
float m_fLocalCoordinateY
 
float m_fLocalCoordinateZ
 

Detailed Description

This structure is used to retrieve hit-testing information

NOTES

  • You need to initialize the m_uSizeOfDVLHitTest member of the sDVLHitTest structure with its size.

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