#include <hps.h>
|
template<typename T > |
static intptr_t | ClassID () |
|
The ImportOptionsKit class contains any settings controlling the import of OBJ files.
OBJ::ImportOptionsKit::ImportOptionsKit |
( |
| ) |
|
The move constructor creates an ImportOptionsKit by transferring the underlying impl of the rvalue reference to this ImportOptionsKit thereby avoiding a copy and allocation.
- Parameters
-
bool OBJ::ImportOptionsKit::Empty |
( |
| ) |
const |
|
virtual |
Type OBJ::ImportOptionsKit::ObjectType |
( |
| ) |
const |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from Object.
The move assignment operator transfers the underlying impl of the rvalue reference to this ImportOptionsKit thereby avoiding a copy.
- Parameters
-
- Returns
- A reference to this ImportOptionsKit.
Sets the handedness used to import geometry by the OBJ importer. It should match the World Handedness for best results. Defaults to Right if not set.
- Parameters
-
in_handedness | The handedness used to import geometry. |
- Returns
- A reference to this ImportOptionsKit.
Sets the portfolio which will be used when the importing images and textures. If no segment is specified, a portfolio will be created for this purpose during import.
- Parameters
-
in_portfolio | Portfolio that will be used when importing images and textures |
- Returns
- A reference to this ImportOptionsKit.
Sets the root segment where the OBJ data will be imported into. If no segment is specified, a root segment will be created for this purpose during import.
- Parameters
-
in_segment | Segment the OBJ data will be imported into. |
- Returns
- A reference to this ImportOptionsKit.
Shows the handedness used to import geometry.
- Parameters
-
out_handedness | Handedness used to import geometry. |
- Returns
- true if a handedness was specified, false otherwise.
bool OBJ::ImportOptionsKit::ShowPortfolio |
( |
PortfolioKey & |
out_portfolio | ) |
const |
Shows the portfolio which will be used when importing images and textures.
- Parameters
-
out_portfolio | Portfolio that will be used when importing images and textures. |
- Returns
- true if a portfolio was specified, false otherwise.
bool OBJ::ImportOptionsKit::ShowSegment |
( |
SegmentKey & |
out_segment | ) |
const |
Shows the root segment where the OBJ data will be imported into.
- Parameters
-
out_segment | Segment the OBJ data will be imported into. |
- Returns
- true if a root segment was specified, false otherwise.
Removes handedness information from this kit.
- Returns
- A reference to this ImportOptionsKit.
Removes the portfolio which will be used when importing images and textures.
- Returns
- A reference to this ImportOptionsKit.
Removes the root segment specifying where the OBJ data will be imported into.
- Returns
- A reference to this ImportOptionsKit.
The documentation for this class was generated from the following file: