std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:23
ImVec2 size(const ViewportRectangle &rect)
Definition MRViewport.h:32
tl::expected< T, E > Expected
Definition MRExpected.h:31
std::string name
Definition MRMeshLoadObj.h:41
VertUVCoords uvCoords
Definition MRMeshLoadObj.h:43
std::optional< Color > diffuseColor
Definition MRMeshLoadObj.h:47
int duplicatedVertexCount
counter of duplicated vertices (that created for resolve non-manifold geometry)
Definition MRMeshLoadObj.h:56
Vector< TextureId, FaceId > texturePerFace
Definition MRMeshLoadObj.h:46
AffineXf3f xf
transform of the loaded mesh, not identity only if ObjLoadSettings.customXf
Definition MRMeshLoadObj.h:50
int skippedFaceCount
counter of skipped faces (faces than can't be created), not zero only if ObjLoadSettings....
Definition MRMeshLoadObj.h:53
bool telemetrySignal
permit telemetry signal about loading
Definition MRMeshLoadObj.h:36
bool countSkippedFaces
if true, the number of skipped faces (faces than can't be created) will be counted
Definition MRMeshLoadObj.h:30
Mesh mesh
Definition MRMeshLoadObj.h:42
MRMESH_API Expected< std::vector< NamedMesh > > fromSceneObjFile(const std::filesystem::path &file, bool combineAllObjects, const ObjLoadSettings &settings={})
loads meshes from .obj file
VertColors colors
Definition MRMeshLoadObj.h:44
bool customXf
if true then vertices will be returned relative to some transformation to avoid precision loss
Definition MRMeshLoadObj.h:27
Vector< std::filesystem::path, TextureId > textureFiles
Definition MRMeshLoadObj.h:45
MRMESH_API Expected< LoadedObjects > loadObjectFromObj(const std::filesystem::path &file, const ProgressCallback &cb={})
reads all objects from .OBJ file
ProgressCallback callback
callback for set progress and stop process
Definition MRMeshLoadObj.h:33
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRMeshLoadObj.h:40
Definition MRMeshLoadObj.h:25