v0.3.0 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...
 
std::vector< const Node * > ignoredNodes {}
 Nodes excluded from hit testing. More...
 

Detailed Description

Options controlling visual hit testing.

Definition at line 87 of file VisualWorld.h.

Member Data Documentation

◆ elementBoundsOnly

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

Test MeshElement bounds instead of individual triangles.

Definition at line 89 of file VisualWorld.h.

◆ ignoredNodes

std::vector<const Node*> a3d::VisualWorld::HitTestOptions::ignoredNodes {}

Nodes excluded from hit testing.

Definition at line 90 of file VisualWorld.h.

◆ searchMode

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

Which matching hits to return.

Definition at line 88 of file VisualWorld.h.


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