|
Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
The value of an option, in a known option type. More...
#include <rs_option.h>
Public Attributes | |
| rs2_option | id |
| int | is_valid |
| rs2_option_type | type |
| union { | |
| char const * as_string | |
| float as_float | |
| int64_t as_integer | |
| rs2_option_rect as_rect | |
| }; | |
The value of an option, in a known option type.
| union { ... } |
| float rs2_option_value::as_float |
| int64_t rs2_option_value::as_integer |
including boolean value
| rs2_option_rect rs2_option_value::as_rect |
| char const* rs2_option_value::as_string |
valid only while rs2_option_value is alive!
| rs2_option rs2_option_value::id |
| int rs2_option_value::is_valid |
0 if no value available; 1 otherwise
| rs2_option_type rs2_option_value::type |
1.8.14