public static MatrixInfo GetCorrectMatrix(string Name, Vector3 WorldPosition) { if (string.IsNullOrEmpty(Name)) { return(MatrixManager.AtPoint(WorldPosition.RoundToInt(), true)); } else { return(MatrixManager.GetByName_DEBUG_ONLY(Name)); } }
public static MatrixInfo GetCorrectMatrix(string Name, Vector3 WorldPosition) { if (string.IsNullOrEmpty(Name)) { return(MatrixManager.AtPoint(WorldPosition.RoundToInt(), true)); } else { return(MatrixManager.GetByName_DEBUG_ONLY(Name)); } }