文档

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
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.