mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Adds a format scale multiplier for shape formats that use a default unit other than meters.
This commit is contained in:
parent
340adae967
commit
76550a5859
6 changed files with 38 additions and 4 deletions
|
|
@ -119,6 +119,7 @@ namespace ColladaUtils
|
|||
bool removeRedundantMats; // Removes redundant materials.
|
||||
eAnimTimingType animTiming; // How to import timing data as frames, seconds or milliseconds
|
||||
S32 animFPS; // FPS value to use if timing is set in frames and the animations does not have an fps set
|
||||
F32 formatScaleFactor; // Scale factor applied to convert the shape format default unit to meters
|
||||
|
||||
ImportOptions()
|
||||
{
|
||||
|
|
@ -156,6 +157,7 @@ namespace ColladaUtils
|
|||
removeRedundantMats = true;
|
||||
animTiming = Seconds;
|
||||
animFPS = 30;
|
||||
formatScaleFactor = 1.0f;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue