MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::Viewport::PickRenderObjectParams Struct Reference

Point picking parameters. More...

#include <MRViewport.h>

Static Public Member Functions

static PickRenderObjectParams defaults ()
 

Public Attributes

std::optional< Vector2f > point
 If specified, this is the target screen point. Otherwise use the mouse pos in viewport coordinates.
 
PickRenderObjectPredicate predicate
 Predicate to additionally filter objects that should be treated as pickable.
 
int pickRadius = -1
 
bool exactPickFirst = true
 
const BaseRenderParamsbaseRenderParams { nullptr }
 if not nullptr it can override render params for picker
 

Detailed Description

Point picking parameters.


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