Pack
Pack a UV map.
Parameters used by the operation
Messages sent during the operation
Type | Count | Notes |
---|---|---|
UvpProgressReportMessageT | Many times | Sent every time the packer wants to inform the application about the current progress. |
UvpInvalidIslandIndiciesMessageT | 0-1 | The packer sends this message, if the operations failed due to invalid islands being encountered. In such a case the return code from the operation will be INVALID_ISLANDS. |
UvpIslandFlagsMessageT | 0-1 | Sent after successful packing, at the very end of the operation. It provides additional information about island state after packing. |
UvpPackSolutionMessageT | Many times | In the default scenario (heuristic search disabled and m_RealtimeSolution set to false), exactly one message of this type is returned at the very end of the operation (assuming that packing succeeded). If heuristic search is enabled and m_RealtimeSolution is set to true, then the packer will send this message every time it finds a packing of a better coverage. |
UvpAreaMessageT | Many times | In the default scenario (heuristic search disabled), exactly one message of this type is returned at the very end of the operation (assuming that packing succeeded). If heuristic search is enabled, then the packer will send this message every time it finds a packing of a better coverage. |
UvpInvalidFacesMessageT | 0-1 | This message is sent if the m_PreValidate option is set to true and invaid faces are detected in the UV map before packing. In such a case the return code from the operation will be PRE_VALIDATION_FAILED. This message is never sent if m_PreValidate is set to false. |
UvpBenchmarkMessageT | One message for every packing device used in the operation. | Sent only if the m_Benchmark option is set to true and packing was successful. |
UvpIslandsMessageT | 0-1 |