文档

Unity Engine

Unity Engine

lossyScale

Attempts to get a scale value from the matrix. (Read Only)
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public readonly Vector3 lossyScale { get; }

Remarks

Scale can only be represented correctly by a 3x3 matrix instead of a 3 component vector, if the given matrix has been skewed for example.
lossyScale
is a convenience property which attempts to match the scale from the matrix as much as possible. If the given matrix is orthogonal, the value will be correct.