Measurement Units

De TriLib
Revisão de 17h20min de 1 de novembro de 2022 por Trilib (discussão | contribs) (Criou página com '3D authoring softwares have their own measurement units. TriLib have some options to convert between these units to Unity units. <nowiki>*</nowiki>By default, 1 Unity unit is...')
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)
Ir para navegação Ir para pesquisar

3D authoring softwares have their own measurement units. TriLib have some options to convert between these units to Unity units.

*By default, 1 Unity unit is 1 Meter.

To keep the original measurement unit used when exporting your models, make sure your "AssetLoaderOptions" instance "UseFileScale" field is set to "true", this way, TriLib will try to use the measurement unit used when your model has been exported.

If the default "1 Unity unit = 1 Meter" is not suitable for you, you can multiply the scale with any factor using the "AssetLoaderOptions.ScaleFactor" field. By default, this value is "1.0", which keeps the original measurement unit used when exporting your model.

*Only FBX and DAE files have options to export the measurement unit used when authoring the models, TriLib just keeps the original units when loading models created in any other file format.