Skip to main content
Version: 🚧 Nightly

Namespace f3d

Classes

Typedefs

Typedef option_variant_t

using f3d::option_variant_t = typedef std::variant<bool, int, double, std::string, std::vector<double>, std::vector<int> >

Return type: std::variant< bool, int, double, std::string, std::vector< double >, std::vector< int > >

Typedef angle_deg_t

using f3d::angle_deg_t = typedef double

Describe an angle in degrees.

Return type: double

Variables

Variable light_type

enum F3D_EXPORT f3d::light_type

Type: enum F3D_EXPORT

Variable CAMERA_LIGHT

enum F3D_EXPORT f3d::CAMERA_LIGHT = 2

Type: enum F3D_EXPORT

Variable SCENE_LIGHT

enum F3D_EXPORT f3d::SCENE_LIGHT = 3

Type: enum F3D_EXPORT

Functions

Function operator<<

F3D_EXPORT std::ostream & f3d::operator<<(std::ostream &stream, const engine::state &st)

Write a state as a JSON string into the provided stream, with file paths stored as absolute paths.

Parameters:

Return type: F3D_EXPORT std::ostream &

Function operator>>

F3D_EXPORT std::istream & f3d::operator>>(std::istream &stream, engine::state &st)

Read a state from the JSON content of the provided stream. Throws a engine::statefile_exception if the content cannot be parsed.

Parameters:

Return type: F3D_EXPORT std::istream &