ドキュメント

Unity Engine

Unity Engine

fileScale

Scaling factor used when useFileScale is set to true (Read-only).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public float fileScale { get; }

Remarks

The scaling factor is based on the source of the model. For FBX files, the scaling factor is the multiplier that converts the unit of measurement, of the imported FBX file, to meters. For other file formats, the scaling factor is a constant:
  • .3ds, .mb, .ma, .c4d, .lxo, .jas : 0.1
  • .max : 1.0
Additional Resources: ModelImporter.useFileScale.