Skip to content

raisin::assimp::ModelSourceFile ​

struct · #include <rayrai/AssimpMeshLoader.hpp>

A file a model import read (or looked for), as it was at that point.

Public member functions ​

changed ​

cpp
bool changed() const

Returns True if the file was created, removed, resized or modified since.

Static member functions ​

current static ​

cpp
static ModelSourceFile current(const std::string &path)

Returns path as it is now.

Public attributes ​

path ​

cpp
std::string path

File path.

exists ​

cpp
bool exists

False for an optional companion that was missing.

size ​

cpp
std::uintmax_t size

Size in bytes.

time ​

cpp
std::filesystem::file_time_type time

Last modification time.

RaiSim — physics for robotics and AI.