Assimp
v4.1. (December 2018)
|
ScaleProcess: Class to rescale the whole model. More...
Inherits Assimp::BaseProcess.
Public Member Functions | |
virtual void | Execute (aiScene *pScene) |
Overwritten,. More... | |
ai_real | getScale () const |
Returns the current scaling value. More... | |
virtual bool | IsActive (unsigned int pFlags) const |
Overwritten,. More... | |
ScaleProcess () | |
The default class constructor. More... | |
void | setScale (ai_real scale) |
Will set the scale manually. More... | |
virtual void | SetupProperties (const Importer *pImp) |
Overwritten,. More... | |
virtual | ~ScaleProcess () |
The class destructor. More... | |
![]() | |
BaseProcess () AI_NO_EXCEPT | |
Constructor to be privately used by Importer. More... | |
void | ExecuteOnScene (Importer *pImp) |
Executes the post processing step on the given imported data. More... | |
SharedPostProcessInfo * | GetSharedData () |
Get the shared data that is assigned to the step. More... | |
virtual bool | RequireVerboseFormat () const |
Check whether this step expects its input vertex data to be in verbose format. More... | |
void | SetSharedData (SharedPostProcessInfo *sh) |
Assign a new SharedPostProcessInfo to the step. More... | |
virtual | ~BaseProcess () |
Destructor, private as well. More... | |
Additional Inherited Members | |
![]() | |
ProgressHandler * | progress |
Currently active progress handler. More... | |
SharedPostProcessInfo * | shared |
See the doc of #SharedPostProcessInfo for more details. More... | |
ScaleProcess: Class to rescale the whole model.
Now rescales animations, bones, and blend shapes properly. Please note this will not write to 'scale' transform it will rewrite mesh and matrixes so that your scale values from your model package are preserved, so this is completely intentional bugs should be reported as soon as they are found.
Assimp::ScaleProcess::ScaleProcess | ( | ) |
The default class constructor.
|
virtual |
The class destructor.
|
virtual |
ai_real Assimp::ScaleProcess::getScale | ( | ) | const |
Returns the current scaling value.
|
virtual |
void Assimp::ScaleProcess::setScale | ( | ai_real | scale | ) |
Will set the scale manually.
|
virtual |