/// <summary> /// Creates an asset conversion configuration from the gravity vector and a model scale. /// </summary> /// <param name="gravity">Gravity vector with respect to object's nominal position.</param> /// <param name="scale">Scale of transformation of asset units into meter space.</param> internal AssetConversionConfiguration(System.Numerics.Vector3 gravity, float scale) : this(new Vector3(gravity), scale) { if (!gravity.IsNormalized()) { throw new ArgumentException("The value must be normalized.", nameof(gravity)); } }
public bool IsNormalized() { return(data.IsNormalized()); }