Avara3D 0.2.0
C++ API reference
a3d::VisualWorld::HitTestOptions Struct Reference

Options controlling visual hit testing. More...

#include <a3d/visual/VisualWorld.h>

Public Attributes

HitTestSearchMode searchMode {HitTestSearchMode::Closest}
 Which matching hits to return. More...
 
bool elementBoundsOnly {false}
 Test MeshElement bounds instead of individual triangles. More...
 

Detailed Description

Options controlling visual hit testing.

Definition at line 93 of file VisualWorld.h.

Member Data Documentation

◆ elementBoundsOnly

bool a3d::VisualWorld::HitTestOptions::elementBoundsOnly {false}

Test MeshElement bounds instead of individual triangles.

Definition at line 95 of file VisualWorld.h.

◆ searchMode

HitTestSearchMode a3d::VisualWorld::HitTestOptions::searchMode {HitTestSearchMode::Closest}

Which matching hits to return.

Definition at line 94 of file VisualWorld.h.


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