ObjLoader Class
(Qt3DRender::ObjLoader)Public Functions
ObjLoader() | |
QGeometry * | geometry() const |
bool | hasNormals() const |
bool | hasTangents() const |
bool | hasTextureCoordinates() const |
QVector<unsigned int> | indices() const |
bool | isLoadTextureCoordinatesEnabled() const |
bool | isMeshCenteringEnabled() const |
bool | isTangentGenerationEnabled() const |
bool | load(const QString &fileName, const QString &subMesh = QString()) |
QVector<QVector3D> | normals() const |
void | setLoadTextureCoordinatesEnabled(bool b) |
void | setMeshCenteringEnabled(bool b) |
void | setTangentGenerationEnabled(bool b) |
QVector<QVector4D> | tangents() const |
QVector<QVector2D> | textureCoordinates() const |
QVector<QVector3D> | vertices() const |
Member Function Documentation
ObjLoader::ObjLoader()
Default constructs an instance of ObjLoader.
QGeometry *ObjLoader::geometry() const
bool ObjLoader::hasNormals() const
bool ObjLoader::hasTangents() const
bool ObjLoader::hasTextureCoordinates() const
QVector<unsigned int> ObjLoader::indices() const
bool ObjLoader::isLoadTextureCoordinatesEnabled() const
bool ObjLoader::isMeshCenteringEnabled() const
bool ObjLoader::isTangentGenerationEnabled() const
bool ObjLoader::load(const QString &fileName, const QString &subMesh = QString())
QVector<QVector3D> ObjLoader::normals() const
void ObjLoader::setLoadTextureCoordinatesEnabled(bool b)
See also isLoadTextureCoordinatesEnabled().
void ObjLoader::setMeshCenteringEnabled(bool b)
See also isMeshCenteringEnabled().
void ObjLoader::setTangentGenerationEnabled(bool b)
See also isTangentGenerationEnabled().