DHART
|
Load mesh geometry from OBJ files on disk. More...
Static Public Member Functions | |
static MeshInfo | LoadOBJ (string path, float xrot=0, float yrot=0, float zrot=0) |
Load an obj from the OBJ file at the given filepath. More... | |
static MeshInfo[] | LoadOBJSubmeshes (string path, GROUP_METHOD gm, float xrot=0, float yrot=0, float zrot=0) |
Load an obj from the OBJ file at the given filepath. More... | |
static MeshInfo | LoadOBJ (string path, Vector3D rotation) |
Load an obj from the OBJ file at the given filepath. More... | |
Load mesh geometry from OBJ files on disk.
|
static |
Load an obj from the OBJ file at the given filepath.
path | Path to a valid OBJ file. |
xrot | Degrees to rotate the mesh on the x axis. |
yrot | Degrees to rotate the mesh on the y axis. |
zrot | Degrees to rotate the mesh on the z axis. |
System.IO.FileNotFoundException | No file was found at path. |
DHARTAPI.Exceptions.InvalidMeshException | The file at the path was not a valid OBJ. |
Referenced by StringToEdgeCost.Main().
Load an obj from the OBJ file at the given filepath.
path | Path to a valid OBJ file. |
rotation | Degrees to rotate the mesh in the x,y, and z direction after loading. |
System.IO.FileNotFoundException | No file was found at path. |
DHARTAPI.Exceptions.InvalidMeshException | The file at the path did not represent a valid OBJ. |
|
static |
Load an obj from the OBJ file at the given filepath.
path | Path to a valid OBJ file. |
gm | Method of grouping the OBJ into submeshes |
xrot | Degrees to rotate the mesh on the x axis. |
yrot | Degrees to rotate the mesh on the y axis. |
zrot | Degrees to rotate the mesh on the z axis. |
path
grouped by gm
System.IO.FileNotFoundException | No file was found at path. |
DHARTAPI.Exceptions.InvalidMeshException | The file at the path was not a valid OBJ. |